diff options
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java')
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java index 9fb6cbe..c5b272c 100644 --- a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java +++ b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java | |||
| @@ -41,8 +41,6 @@ public class TestPagodaUOBM { | |||
| 41 | .data(Paths.get(ontoDir, "uobm/data/uobm" + number + ".ttl")) | 41 | .data(Paths.get(ontoDir, "uobm/data/uobm" + number + ".ttl")) |
| 42 | .query(Paths.get(ontoDir, "uobm/queries/test.sparql")) | 42 | .query(Paths.get(ontoDir, "uobm/queries/test.sparql")) |
| 43 | .answer(answers) | 43 | .answer(answers) |
| 44 | .classify(true) | ||
| 45 | .hermit(true) | ||
| 46 | .build(); | 44 | .build(); |
| 47 | 45 | ||
| 48 | pagoda.run(); | 46 | pagoda.run(); |
| @@ -65,8 +63,6 @@ public class TestPagodaUOBM { | |||
| 65 | .ontology(Paths.get(ontoDir, "uobm/univ-bench-dl.owl")) | 63 | .ontology(Paths.get(ontoDir, "uobm/univ-bench-dl.owl")) |
| 66 | .data(Paths.get(ontoDir, "uobm/data/uobm" + number + ".ttl")) | 64 | .data(Paths.get(ontoDir, "uobm/data/uobm" + number + ".ttl")) |
| 67 | .query(Paths.get(ontoDir, "uobm/queries/uobm_sygenia.sparql")) | 65 | .query(Paths.get(ontoDir, "uobm/queries/uobm_sygenia.sparql")) |
| 68 | .classify(true) | ||
| 69 | .hermit(true) | ||
| 70 | .build(); | 66 | .build(); |
| 71 | 67 | ||
| 72 | pagoda.run(); | 68 | pagoda.run(); |
| @@ -85,22 +81,30 @@ public class TestPagodaUOBM { | |||
| 85 | .ontology(Paths.get(ontoDir, "uobm/univ-bench-dl.owl")) | 81 | .ontology(Paths.get(ontoDir, "uobm/univ-bench-dl.owl")) |
| 86 | .data(Paths.get(ontoDir, "uobm/data/uobm" + number + ".ttl")) | 82 | .data(Paths.get(ontoDir, "uobm/data/uobm" + number + ".ttl")) |
| 87 | .query(Paths.get(ontoDir, "uobm/queries/uobm_sygenia_all-blanks.sparql")) | 83 | .query(Paths.get(ontoDir, "uobm/queries/uobm_sygenia_all-blanks.sparql")) |
| 88 | .classify(true) | 84 | .build() |
| 89 | .hermit(true) | 85 | .run(); |
| 86 | } | ||
| 87 | |||
| 88 | @Test(groups = {"justExecute", "heavy", "nonOriginal"}) | ||
| 89 | public void justExecute_modifiedUOBM() throws IOException { | ||
| 90 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 91 | |||
| 92 | Pagoda.builder() | ||
| 93 | .ontology(Paths.get(ontoDir, "uobm_modified/univ-bench-dl-modified.owl")) | ||
| 94 | .data(Paths.get(ontoDir, "uobm_modified/data/uobm1.ttl")) | ||
| 95 | .query(Paths.get(ontoDir, "uobm_modified/queries/additional_queries.sparql")) | ||
| 90 | .build() | 96 | .build() |
| 91 | .run(); | 97 | .run(); |
| 92 | } | 98 | } |
| 93 | 99 | ||
| 94 | @Test(groups = {"justExecute"}) | 100 | @Test(groups = {"justExecute"}) |
| 95 | public void justExecute_existentialQueries() throws IOException { | 101 | public void justExecute_additionalQueries() throws IOException { |
| 96 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | 102 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); |
| 97 | 103 | ||
| 98 | Pagoda.builder() | 104 | Pagoda.builder() |
| 99 | .ontology(Paths.get(ontoDir, "uobm/univ-bench-dl-modified.owl")) | 105 | .ontology(Paths.get(ontoDir, "uobm/univ-bench-dl.owl")) |
| 100 | .data(Paths.get(ontoDir, "uobm/data/uobm1.ttl")) | 106 | .data(Paths.get(ontoDir, "uobm/data/uobm1.ttl")) |
| 101 | .query(Paths.get(ontoDir, "uobm/queries/existential_queries.sparql")) | 107 | .query(Paths.get(ontoDir, "uobm/queries/additional_queries.sparql")) |
| 102 | .classify(true) | ||
| 103 | .hermit(true) | ||
| 104 | .build() | 108 | .build() |
| 105 | .run(); | 109 | .run(); |
| 106 | } | 110 | } |
