diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-05-18 18:27:32 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-05-18 18:27:32 +0100 |
| commit | c7dbc7c61c7094ea4ec49bd630023f23b92fd9d1 (patch) | |
| tree | 45ff5a535e7d519b58d60c0c214a1f9ecc5a35ef /test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java | |
| parent | 1b6a128137e5d7a6ff75566869232fc054afabef (diff) | |
| download | ACQuA-c7dbc7c61c7094ea4ec49bd630023f23b92fd9d1.tar.gz ACQuA-c7dbc7c61c7094ea4ec49bd630023f23b92fd9d1.zip | |
Configured Maven and improved executable class and tests.
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java')
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java new file mode 100644 index 0000000..939ee6e --- /dev/null +++ b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.global_tests; | ||
| 2 | |||
| 3 | import org.testng.annotations.Test; | ||
| 4 | import uk.ac.ox.cs.pagoda.Pagoda; | ||
| 5 | import uk.ac.ox.cs.pagoda.util.TestUtil; | ||
| 6 | |||
| 7 | import java.io.IOException; | ||
| 8 | import java.nio.file.Paths; | ||
| 9 | |||
| 10 | public class TestPagodaNPD { | ||
| 11 | |||
| 12 | public static final String ANSWER_PATH = "~/PagodaNPDWithoutDatatype.json"; | ||
| 13 | |||
| 14 | @Test | ||
| 15 | public void justExecuteNPDWithoutDataType() { | ||
| 16 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 17 | Pagoda pagoda = Pagoda.builder() | ||
| 18 | .ontology(Paths.get(ontoDir, "npd/npd-all-minus-datatype.owl")) | ||
| 19 | .data(Paths.get(ontoDir, "npd/data/npd-data-dump-minus-datatype-new.ttl")) | ||
| 20 | .query(Paths.get(ontoDir, "npd/queries/atomic.sparql")) | ||
| 21 | .answer(ANSWER_PATH) | ||
| 22 | .classify(true) | ||
| 23 | .hermit(true) | ||
| 24 | .build(); | ||
| 25 | pagoda.run(); | ||
| 26 | } | ||
| 27 | |||
| 28 | @Test | ||
| 29 | public void testNPDwithoutDataType() throws IOException { | ||
| 30 | // TODO implement | ||
| 31 | } | ||
| 32 | |||
| 33 | @Test | ||
| 34 | public void testNPD() throws IOException { | ||
| 35 | // TODO implement | ||
| 36 | } | ||
| 37 | |||
| 38 | } | ||
