diff options
| author | yzhou <yzhou@krr-linux.cs.ox.ac.uk> | 2015-04-30 17:36:35 +0100 |
|---|---|---|
| committer | yzhou <yzhou@krr-linux.cs.ox.ac.uk> | 2015-04-30 17:36:35 +0100 |
| commit | 0d8f240c9c0a64f2285324e5a517161e45c698fc (patch) | |
| tree | f4b4f7078e3be02011b9812cd8791c657a135993 /test/uk/ac/ox/cs/hermit | |
| parent | 68ae342b2a4923bc7b3f378c6a489f2355d85279 (diff) | |
| download | ACQuA-0d8f240c9c0a64f2285324e5a517161e45c698fc.tar.gz ACQuA-0d8f240c9c0a64f2285324e5a517161e45c698fc.zip | |
downgrade owl api and reorganised src files
Diffstat (limited to 'test/uk/ac/ox/cs/hermit')
| -rw-r--r-- | test/uk/ac/ox/cs/hermit/HermitQueryReasoner.java | 2 | ||||
| -rw-r--r-- | test/uk/ac/ox/cs/hermit/HermitTester.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/uk/ac/ox/cs/hermit/HermitQueryReasoner.java b/test/uk/ac/ox/cs/hermit/HermitQueryReasoner.java index 6e9446d..f6246f8 100644 --- a/test/uk/ac/ox/cs/hermit/HermitQueryReasoner.java +++ b/test/uk/ac/ox/cs/hermit/HermitQueryReasoner.java | |||
| @@ -73,7 +73,7 @@ public class HermitQueryReasoner { | |||
| 73 | if (onto.containsEntityInSignature(date)) { | 73 | if (onto.containsEntityInSignature(date)) { |
| 74 | for (OWLOntology o: onto.getImportsClosure()) | 74 | for (OWLOntology o: onto.getImportsClosure()) |
| 75 | for (OWLAxiom axiom: o.getAxioms()) | 75 | for (OWLAxiom axiom: o.getAxioms()) |
| 76 | if (axiom.containsEntityInSignature(date)) { | 76 | if (axiom.getDatatypesInSignature().contains(date)) { |
| 77 | System.out.println("The axiom: " + axiom + " is being ingored. "); | 77 | System.out.println("The axiom: " + axiom + " is being ingored. "); |
| 78 | man.removeAxiom(onto, axiom); | 78 | man.removeAxiom(onto, axiom); |
| 79 | } | 79 | } |
diff --git a/test/uk/ac/ox/cs/hermit/HermitTester.java b/test/uk/ac/ox/cs/hermit/HermitTester.java index 00df658..dc70284 100644 --- a/test/uk/ac/ox/cs/hermit/HermitTester.java +++ b/test/uk/ac/ox/cs/hermit/HermitTester.java | |||
| @@ -27,7 +27,7 @@ public class HermitTester { | |||
| 27 | for (OWLOntology o: onto.getImportsClosure()) { | 27 | for (OWLOntology o: onto.getImportsClosure()) { |
| 28 | System.out.println(o.containsEntityInSignature(concept)); | 28 | System.out.println(o.containsEntityInSignature(concept)); |
| 29 | for (OWLAxiom axiom: o.getAxioms()) | 29 | for (OWLAxiom axiom: o.getAxioms()) |
| 30 | if (axiom.containsEntityInSignature(concept)) | 30 | if (axiom.getClassesInSignature().contains(concept)) |
| 31 | System.out.println(axiom); | 31 | System.out.println(axiom); |
| 32 | } | 32 | } |
| 33 | 33 | ||
