From: <lor...@us...> - 2011-09-02 10:11:44
|
Revision: 3227 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3227&view=rev Author: lorenz_b Date: 2011-09-02 10:11:38 +0000 (Fri, 02 Sep 2011) Log Message: ----------- Extended vocabulary. Modified Paths: -------------- trunk/components-core/src/main/java/org/dllearner/core/EvaluatedAxiom.java trunk/components-core/src/main/java/org/dllearner/utilities/EnrichmentVocabulary.java Modified: trunk/components-core/src/main/java/org/dllearner/core/EvaluatedAxiom.java =================================================================== --- trunk/components-core/src/main/java/org/dllearner/core/EvaluatedAxiom.java 2011-09-02 09:23:45 UTC (rev 3226) +++ trunk/components-core/src/main/java/org/dllearner/core/EvaluatedAxiom.java 2011-09-02 10:11:38 UTC (rev 3227) @@ -81,7 +81,7 @@ OWLAxiom ax = OWLAPIConverter.getOWLAPIAxiom(axiom); ax.accept(r); - OWLAxiom ax1 = f.getOWLClassAssertionAxiom(EnrichmentVocabulary.Suggestion, ind); + OWLAxiom ax1 = f.getOWLClassAssertionAxiom(EnrichmentVocabulary.AddSuggestion, ind); OWLAxiom ax2 = f.getOWLDataPropertyAssertionAxiom(EnrichmentVocabulary.hasAxiom, ind, sw.toString()); OWLAnnotation anno = f.getOWLAnnotation(EnrichmentVocabulary.belongsTo, ind.getIRI()); // OWLAxiom ax2 = ax.getAnnotatedAxiom(Collections.singleton(anno)); Modified: trunk/components-core/src/main/java/org/dllearner/utilities/EnrichmentVocabulary.java =================================================================== --- trunk/components-core/src/main/java/org/dllearner/utilities/EnrichmentVocabulary.java 2011-09-02 09:23:45 UTC (rev 3226) +++ trunk/components-core/src/main/java/org/dllearner/utilities/EnrichmentVocabulary.java 2011-09-02 10:11:38 UTC (rev 3227) @@ -43,6 +43,10 @@ public static final OWLClass Suggestion = factory.getOWLClass(IRI.create(NS + "Suggestion")); + public static final OWLClass AddSuggestion = factory.getOWLClass(IRI.create(NS + "AddSuggestion")); + + public static final OWLClass DeleteSuggestion = factory.getOWLClass(IRI.create(NS + "DeleteSuggestion")); + public static final OWLClass Parameter = factory.getOWLClass(IRI.create(NS + "Parameter")); public static final OWLClass Creation = factory.getOWLClass(IRI.create(NS + "Creation")); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |