aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRncLsn <rnc.lsn@gmail.com>2015-10-12 11:10:01 +0100
committerRncLsn <rnc.lsn@gmail.com>2015-10-12 11:10:01 +0100
commit8651164cd632a5db310b457ce32d4fbc97bdc41c (patch)
treef898102e0090a664d850b45eee994c57447bd4b9 /test
parent45616f650111c1d0236d22fcb5f3b4e5e8b68550 (diff)
downloadACQuA-8651164cd632a5db310b457ce32d4fbc97bdc41c.tar.gz
ACQuA-8651164cd632a5db310b457ce32d4fbc97bdc41c.zip
RDFox dependency from project repo; improved the readme.
Diffstat (limited to 'test')
-rw-r--r--test/resources/MainTests.xml5
-rw-r--r--test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java7
-rw-r--r--test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaLUBM.java2
3 files changed, 9 insertions, 5 deletions
diff --git a/test/resources/MainTests.xml b/test/resources/MainTests.xml
index ec299b5..fdecc72 100644
--- a/test/resources/MainTests.xml
+++ b/test/resources/MainTests.xml
@@ -6,10 +6,11 @@
6 <groups> 6 <groups>
7 <run> 7 <run>
8 <!--<include name="correctness"/>--> 8 <!--<include name="correctness"/>-->
9 <include name="light"/> 9 <!--<include name="light"/>-->
10 <!--<include name="justExecute"/>--> 10 <!--<include name="justExecute"/>-->
11 <exclude name="heavy"/> 11 <!--<exclude name="heavy"/>-->
12 <!--<include name="nonOriginal"/>--> 12 <!--<include name="nonOriginal"/>-->
13 <include name="existential"/>
13 </run> 14 </run>
14 </groups> 15 </groups>
15 <classes> 16 <classes>
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 }