diff options
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/global_tests')
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java | 7 | ||||
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaLUBM.java | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java index 42f0ac1..3eb956f 100644 --- a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java +++ b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java | |||
| @@ -51,17 +51,20 @@ public class TestPagodaFLY { | |||
| 51 | CheckAnswers.assertSameAnswers(answers, givenAnswers); | 51 | CheckAnswers.assertSameAnswers(answers, givenAnswers); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | @Test(groups = {"light", "justExecute", "nonOriginal"}) | 54 | @Test(groups = {"light", "justExecute", "nonOriginal", "existential"}) |
| 55 | public void justExecute_newQueries() throws IOException { | 55 | public void justExecute_newQueries() throws IOException { |
| 56 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | 56 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); |
| 57 | 57 | ||
| 58 | Pagoda.builder() | 58 | Pagoda.builder() |
| 59 | // .ontology(Paths.get(ontoDir, "fly/fly_rolledUp.owl")) | 59 | // .ontology(Paths.get(ontoDir, "fly/fly_rolledUp.owl")) |
| 60 | .ontology(Paths.get(ontoDir, "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl")) | 60 | .ontology(Paths.get(ontoDir, "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl")) |
| 61 | .query(Paths.get(ontoDir, "fly/queries/new_queries.sparql")) | 61 | // .query(Paths.get(ontoDir, "fly/queries/fly_rolledUp.sparql")) |
| 62 | // .query(Paths.get(ontoDir, "fly/queries/new_queries.sparql")) | ||
| 63 | .query("/home/alessandro/Desktop/query-8.sparql") | ||
| 62 | // .answer(Paths.get("/home/alessandro/Desktop/answers.json")) | 64 | // .answer(Paths.get("/home/alessandro/Desktop/answers.json")) |
| 63 | .classify(false) | 65 | .classify(false) |
| 64 | .hermit(true) | 66 | .hermit(true) |
| 67 | .skolemDepth(3) | ||
| 65 | .skolem(PagodaProperties.SkolemUpperBoundOptions.BEFORE_SUMMARISATION) | 68 | .skolem(PagodaProperties.SkolemUpperBoundOptions.BEFORE_SUMMARISATION) |
| 66 | .build() | 69 | .build() |
| 67 | .run(); | 70 | .run(); |
diff --git a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaLUBM.java b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaLUBM.java index 2d95e5f..019fafa 100644 --- a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaLUBM.java +++ b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaLUBM.java | |||
| @@ -85,7 +85,7 @@ public class TestPagodaLUBM { | |||
| 85 | Pagoda.builder() | 85 | Pagoda.builder() |
| 86 | .ontology(Paths.get(ontoDir, "lubm/univ-bench.owl")) | 86 | .ontology(Paths.get(ontoDir, "lubm/univ-bench.owl")) |
| 87 | .data(Paths.get(ontoDir, "lubm/data/lubm1.ttl")) | 87 | .data(Paths.get(ontoDir, "lubm/data/lubm1.ttl")) |
| 88 | .query(Paths.get(ontoDir, "lubm/queries/queries_from_feier-et-al.sparql")) | 88 | .query(Paths.get(ontoDir, "lubm/queries/queries_from_rules.sparql")) |
| 89 | .build() | 89 | .build() |
| 90 | .run(); | 90 | .run(); |
| 91 | } | 91 | } |
