diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-05-15 17:32:22 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-05-15 17:32:22 +0100 |
| commit | 1b6a128137e5d7a6ff75566869232fc054afabef (patch) | |
| tree | 3def49c3c9c1e2ebebc49b82d9eb562b6d097cad /test/uk/ac/ox/cs/pagoda/test_units/LightEvaluation.java | |
| parent | bd995407098d1b0c79c17a28b0b23a2c24a493c6 (diff) | |
| download | ACQuA-1b6a128137e5d7a6ff75566869232fc054afabef.tar.gz ACQuA-1b6a128137e5d7a6ff75566869232fc054afabef.zip | |
Testing and fixing. Executed successfully on UOBM{1,2,3,4,5,6,7,8}.
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/test_units/LightEvaluation.java')
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/test_units/LightEvaluation.java | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/test_units/LightEvaluation.java b/test/uk/ac/ox/cs/pagoda/test_units/LightEvaluation.java deleted file mode 100644 index 932c178..0000000 --- a/test/uk/ac/ox/cs/pagoda/test_units/LightEvaluation.java +++ /dev/null | |||
| @@ -1,67 +0,0 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.test_units; | ||
| 2 | |||
| 3 | import org.junit.Test; | ||
| 4 | import uk.ac.ox.cs.pagoda.tester.PagodaTester; | ||
| 5 | import uk.ac.ox.cs.pagoda.util.TestUtil; | ||
| 6 | |||
| 7 | import java.io.IOException; | ||
| 8 | |||
| 9 | public class LightEvaluation { | ||
| 10 | |||
| 11 | @Test | ||
| 12 | public void uobm1() throws IOException { | ||
| 13 | int number = 1; | ||
| 14 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 15 | PagodaTester.main( | ||
| 16 | TestUtil.combinePaths(ontoDir, "uobm/univ-bench-dl.owl"), | ||
| 17 | TestUtil.combinePaths(ontoDir, "uobm/data/uobm" + number + ".ttl"), | ||
| 18 | TestUtil.combinePaths(ontoDir, "uobm/queries/standard.sparql") | ||
| 19 | ); | ||
| 20 | TestUtil.copyFile("log4j.log", "output/jair/uobm1.out"); | ||
| 21 | } | ||
| 22 | |||
| 23 | @Test | ||
| 24 | public void lubm100() throws IOException { | ||
| 25 | int number = 100; | ||
| 26 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 27 | PagodaTester.main( | ||
| 28 | TestUtil.combinePaths(ontoDir, "lubm/univ-bench.owl"), | ||
| 29 | TestUtil.combinePaths(ontoDir, "lubm/data/lubm" + number + ".ttl"), | ||
| 30 | TestUtil.combinePaths(ontoDir, "lubm/queries/test.sparql") | ||
| 31 | ); | ||
| 32 | TestUtil.copyFile("log4j.log", "results-backup/current/lubm100.out"); | ||
| 33 | } | ||
| 34 | |||
| 35 | @Test | ||
| 36 | public void fly() throws IOException { | ||
| 37 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 38 | PagodaTester.main( | ||
| 39 | TestUtil.combinePaths(ontoDir, "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl"), | ||
| 40 | TestUtil.combinePaths(ontoDir, "fly/queries/fly.sparql") | ||
| 41 | ); | ||
| 42 | TestUtil.copyFile("log4j.log", "results-backup/current/fly.out"); | ||
| 43 | } | ||
| 44 | |||
| 45 | @Test | ||
| 46 | public void dbpedia() throws IOException { | ||
| 47 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 48 | PagodaTester.main( | ||
| 49 | TestUtil.combinePaths(ontoDir, "dbpedia/integratedOntology-all-in-one-minus-datatype.owl"), | ||
| 50 | TestUtil.combinePaths(ontoDir, "dbpedia/data/dbpedia-minus-datatype-new.ttl"), | ||
| 51 | TestUtil.combinePaths(ontoDir, "dbpedia/atomic.sparql") | ||
| 52 | ); | ||
| 53 | TestUtil.copyFile("log4j.log", "results-backup/current/dbpedia.out"); | ||
| 54 | } | ||
| 55 | |||
| 56 | @Test | ||
| 57 | public void npdWithoutDataType() throws IOException { | ||
| 58 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 59 | PagodaTester.main( | ||
| 60 | TestUtil.combinePaths(ontoDir, "npd/npd-all-minus-datatype.owl"), | ||
| 61 | TestUtil.combinePaths(ontoDir, "npd/data/npd-data-dump-minus-datatype-new.ttl"), | ||
| 62 | TestUtil.combinePaths(ontoDir, "npd/queries/atomic.sparql") | ||
| 63 | ); | ||
| 64 | TestUtil.copyFile("log4j.log", "results-backup/current/npd_minus.out"); | ||
| 65 | } | ||
| 66 | |||
| 67 | } | ||
