Skip to content

Commit

Permalink
fix owl-dataproperties
Browse files Browse the repository at this point in the history
  • Loading branch information
ghxiao committed Jun 19, 2013
1 parent f7d1040 commit a461e5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sh/owl-objectproperties
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ else
java=java
fi

${java} -cp ${DIR}/owl-toolkit.jar OWLDataProperties "$@"
${java} -cp ${DIR}/owl-toolkit.jar OWLObjectProperties "$@"
4 changes: 2 additions & 2 deletions src/OWLObjectProperties.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import java.io.File;

import org.semanticweb.owlapi.apibinding.OWLManager;
import org.semanticweb.owlapi.model.OWLDataProperty;
import org.semanticweb.owlapi.model.OWLObjectProperty;
import org.semanticweb.owlapi.model.OWLOntology;
import org.semanticweb.owlapi.model.OWLOntologyCreationException;

Expand All @@ -18,7 +18,7 @@ public static void main(String... args) throws OWLOntologyCreationException {
System.err.println("Ontology "
+ ontology.getOntologyID().getOntologyIRI());

for (OWLDataProperty property : ontology.getDataPropertiesInSignature()) {
for (OWLObjectProperty property : ontology.getObjectPropertiesInSignature()) {
System.out.println(property);
}
}
Expand Down

0 comments on commit a461e5a

Please sign in to comment.