diff options
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 | 62 |
1 files changed, 62 insertions, 0 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 new file mode 100644 index 0000000..29006de --- /dev/null +++ b/test/uk/ac/ox/cs/pagoda/test_units/LightEvaluation.java | |||
| @@ -0,0 +1,62 @@ | |||
| 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.Utility; | ||
| 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 | PagodaTester.main( | ||
| 15 | PagodaTester.onto_dir + "uobm/univ-bench-dl.owl", | ||
| 16 | PagodaTester.onto_dir + "uobm/data/uobm" + number + ".ttl", | ||
| 17 | PagodaTester.onto_dir + "uobm/queries/standard.sparql" | ||
| 18 | ); | ||
| 19 | Utility.copyFile("log4j.log", "output/jair/uobm1.out"); | ||
| 20 | } | ||
| 21 | |||
| 22 | @Test | ||
| 23 | public void lubm100() throws IOException { | ||
| 24 | int number = 100; | ||
| 25 | PagodaTester.main( | ||
| 26 | PagodaTester.onto_dir + "lubm/univ-bench.owl", | ||
| 27 | PagodaTester.onto_dir + "lubm/data/lubm" + number + ".ttl", | ||
| 28 | PagodaTester.onto_dir + "lubm/queries/test.sparql" | ||
| 29 | ); | ||
| 30 | Utility.copyFile("log4j.log", "results-backup/current/lubm100.out"); | ||
| 31 | } | ||
| 32 | |||
| 33 | @Test | ||
| 34 | public void fly() throws IOException { | ||
| 35 | PagodaTester.main( | ||
| 36 | PagodaTester.onto_dir + "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl", | ||
| 37 | PagodaTester.onto_dir + "fly/queries/fly.sparql" | ||
| 38 | ); | ||
| 39 | Utility.copyFile("log4j.log", "results-backup/current/fly.out"); | ||
| 40 | } | ||
| 41 | |||
| 42 | @Test | ||
| 43 | public void dbpedia() throws IOException { | ||
| 44 | PagodaTester.main( | ||
| 45 | PagodaTester.onto_dir + "dbpedia/integratedOntology-all-in-one-minus-datatype.owl", | ||
| 46 | PagodaTester.onto_dir + "dbpedia/data/dbpedia-minus-datatype-new.ttl", | ||
| 47 | PagodaTester.onto_dir + "dbpedia/atomic.sparql" | ||
| 48 | ); | ||
| 49 | Utility.copyFile("log4j.log", "results-backup/current/dbpedia.out"); | ||
| 50 | } | ||
| 51 | |||
| 52 | @Test | ||
| 53 | public void npdWithoutDataType() throws IOException { | ||
| 54 | PagodaTester.main( | ||
| 55 | PagodaTester.onto_dir + "npd/npd-all-minus-datatype.owl", | ||
| 56 | PagodaTester.onto_dir + "npd/data/npd-data-dump-minus-datatype-new.ttl", | ||
| 57 | PagodaTester.onto_dir + "npd/queries/atomic.sparql" | ||
| 58 | ); | ||
| 59 | Utility.copyFile("log4j.log", "results-backup/current/npd_minus.out"); | ||
| 60 | } | ||
| 61 | |||
| 62 | } | ||
