aboutsummaryrefslogtreecommitdiff
path: root/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java
diff options
context:
space:
mode:
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.java17
1 files changed, 16 insertions, 1 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 bdfb818..1d9f1e6 100644
--- a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java
+++ b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java
@@ -79,7 +79,7 @@ public class TestPagodaUOBM {
79 answersCorrectness_sygenia(1); 79 answersCorrectness_sygenia(1);
80 } 80 }
81 81
82 @Test(groups = {"heavy",}, dataProvider = "UOBMNumbers") 82 @Test(groups = {"heavy"}, dataProvider = "UOBMNumbers")
83 public void answersCorrectness_sygenia_allBlanks(int number) throws IOException { 83 public void answersCorrectness_sygenia_allBlanks(int number) throws IOException {
84 String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); 84 String ontoDir = TestUtil.getConfig().getProperty("ontoDir");
85// Path answers = Paths.get(File.createTempFile("answers", ".json").getAbsolutePath()); 85// Path answers = Paths.get(File.createTempFile("answers", ".json").getAbsolutePath());
@@ -99,4 +99,19 @@ public class TestPagodaUOBM {
99// CheckAnswers.assertSameAnswers(answers, givenAnswers); 99// CheckAnswers.assertSameAnswers(answers, givenAnswers);
100 } 100 }
101 101
102 @Test(groups = {"justExecute"})
103 public void justExecute_existentialQueries() throws IOException {
104 String ontoDir = TestUtil.getConfig().getProperty("ontoDir");
105
106 Pagoda.builder()
107 .ontology(Paths.get(ontoDir, "uobm/univ-bench-dl.owl"))
108 .data(Paths.get(ontoDir, "uobm/data/uobm1.ttl"))
109 .query(Paths.get(ontoDir, "uobm/queries/existential_queries.sparql"))
110// .answer(answers)
111 .classify(true)
112 .hermit(true)
113 .skolem(false)
114 .build()
115 .run();
116 }
102} 117}