diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-08-01 18:53:23 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-08-01 18:53:23 +0100 |
| commit | 3d1c8553f61747b54a8304a39f401f9b77f8cf57 (patch) | |
| tree | 1e1374da8ae640b7e5c4aff86a5ab2d8d413f2ac /test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java | |
| parent | 3d44aee6069175038266c65f945147569e6343f6 (diff) | |
| download | ACQuA-3d1c8553f61747b54a8304a39f401f9b77f8cf57.tar.gz ACQuA-3d1c8553f61747b54a8304a39f401f9b77f8cf57.zip | |
Option for SkolemUpperBound application and for skolemisation depth (from file pagoda.properties).
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java')
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java | 7 |
1 files changed, 4 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 0ce3d69..a7a562d 100644 --- a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java +++ b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java | |||
| @@ -3,6 +3,7 @@ package uk.ac.ox.cs.pagoda.global_tests; | |||
| 3 | import org.testng.annotations.Test; | 3 | import org.testng.annotations.Test; |
| 4 | import uk.ac.ox.cs.pagoda.Pagoda; | 4 | import uk.ac.ox.cs.pagoda.Pagoda; |
| 5 | import uk.ac.ox.cs.pagoda.query.CheckAnswers; | 5 | import uk.ac.ox.cs.pagoda.query.CheckAnswers; |
| 6 | import uk.ac.ox.cs.pagoda.util.PagodaProperties; | ||
| 6 | import uk.ac.ox.cs.pagoda.util.TestUtil; | 7 | import uk.ac.ox.cs.pagoda.util.TestUtil; |
| 7 | import uk.ac.ox.cs.pagoda.util.Timer; | 8 | import uk.ac.ox.cs.pagoda.util.Timer; |
| 8 | 9 | ||
| @@ -61,7 +62,7 @@ public class TestPagodaFLY { | |||
| 61 | // .answer(Paths.get("/home/alessandro/Desktop/answers.json")) | 62 | // .answer(Paths.get("/home/alessandro/Desktop/answers.json")) |
| 62 | .classify(false) | 63 | .classify(false) |
| 63 | .hermit(true) | 64 | .hermit(true) |
| 64 | .skolem(true) | 65 | .skolem(PagodaProperties.SkolemUpperBoundOptions.AFTER_SUMMARISATION) |
| 65 | .build() | 66 | .build() |
| 66 | .run(); | 67 | .run(); |
| 67 | } | 68 | } |
| @@ -76,7 +77,7 @@ public class TestPagodaFLY { | |||
| 76 | .query(Paths.get(ontoDir, "fly/queries/new_queries.sparql")) | 77 | .query(Paths.get(ontoDir, "fly/queries/new_queries.sparql")) |
| 77 | .classify(false) | 78 | .classify(false) |
| 78 | .hermit(true) | 79 | .hermit(true) |
| 79 | .skolem(true) // <----<< Skolem upper bound is ENABLED <<< | 80 | .skolem(PagodaProperties.SkolemUpperBoundOptions.AFTER_SUMMARISATION) // <----<< Skolem upper bound is ENABLED <<< |
| 80 | .build() | 81 | .build() |
| 81 | .run(); | 82 | .run(); |
| 82 | double t1 = timer.duration(); | 83 | double t1 = timer.duration(); |
| @@ -88,7 +89,7 @@ public class TestPagodaFLY { | |||
| 88 | .query(Paths.get(ontoDir, "fly/queries/new_queries.sparql")) | 89 | .query(Paths.get(ontoDir, "fly/queries/new_queries.sparql")) |
| 89 | .classify(false) | 90 | .classify(false) |
| 90 | .hermit(true) | 91 | .hermit(true) |
| 91 | .skolem(false) // <----<< Skolem upper bound is DISABLED <<< | 92 | .skolem(PagodaProperties.SkolemUpperBoundOptions.DISABLED) // <----<< Skolem upper bound is DISABLED <<< |
| 92 | .build() | 93 | .build() |
| 93 | .run(); | 94 | .run(); |
| 94 | double t2 = timer.duration(); | 95 | double t2 = timer.duration(); |
