diff options
Diffstat (limited to 'test/uk/ac/ox/cs/hermit/JAIR_HermiT.java')
| -rw-r--r-- | test/uk/ac/ox/cs/hermit/JAIR_HermiT.java | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/test/uk/ac/ox/cs/hermit/JAIR_HermiT.java b/test/uk/ac/ox/cs/hermit/JAIR_HermiT.java new file mode 100644 index 0000000..2fc478d --- /dev/null +++ b/test/uk/ac/ox/cs/hermit/JAIR_HermiT.java | |||
| @@ -0,0 +1,120 @@ | |||
| 1 | package uk.ac.ox.cs.hermit; | ||
| 2 | |||
| 3 | import org.junit.Test; | ||
| 4 | |||
| 5 | import uk.ac.ox.cs.pagoda.tester.PagodaTester; | ||
| 6 | |||
| 7 | public class JAIR_HermiT { | ||
| 8 | |||
| 9 | @Test | ||
| 10 | public void lubm1() throws Exception { | ||
| 11 | String[] args = new String[] { | ||
| 12 | PagodaTester.onto_dir + "lubm/univ-bench.owl", | ||
| 13 | PagodaTester.onto_dir + "lubm/data/lubm1_owl", | ||
| 14 | PagodaTester.onto_dir + "lubm/queries/test.sparql" | ||
| 15 | // , "/home/yzhou/java-workspace/test-share/results_new/lubm1/hermit" | ||
| 16 | }; | ||
| 17 | HermitQueryReasoner.main(args); | ||
| 18 | } | ||
| 19 | |||
| 20 | @Test | ||
| 21 | public void lubm1_rolledUp() throws Exception { | ||
| 22 | String[] args = new String[] { | ||
| 23 | "/home/yzhou/backup/20141212/univ-bench-queries.owl", | ||
| 24 | PagodaTester.onto_dir + "lubm/data/lubm1_owl", | ||
| 25 | PagodaTester.onto_dir + "lubm/queries/atomic_lubm.sparql" | ||
| 26 | // , "/home/yzhou/java-workspace/test-share/results_new/lubm1/hermit_rolledUp" | ||
| 27 | }; | ||
| 28 | HermitQueryReasoner.main(args); | ||
| 29 | } | ||
| 30 | |||
| 31 | @Test | ||
| 32 | public void uobm1() throws Exception { | ||
| 33 | String[] args = new String[] { | ||
| 34 | PagodaTester.onto_dir + "uobm/univ-bench-dl.owl", | ||
| 35 | PagodaTester.onto_dir + "uobm/data/uobm1_owl_withDeclaration", | ||
| 36 | PagodaTester.onto_dir + "uobm/queries/standard.sparql" | ||
| 37 | // , "hermit_uobm1.out" | ||
| 38 | // , "/home/yzhou/java-workspace/test-share/results_new/uobm1/hermit" | ||
| 39 | }; | ||
| 40 | HermitQueryReasoner.main(args); | ||
| 41 | } | ||
| 42 | |||
| 43 | @Test | ||
| 44 | public void uobm1_rolledUp() throws Exception { | ||
| 45 | String[] args = new String[] { | ||
| 46 | "/home/yzhou/backup/20141212/univ-bench-dl-queries.owl", | ||
| 47 | PagodaTester.onto_dir + "uobm/data/uobm1_owl_withDeclaration", | ||
| 48 | PagodaTester.onto_dir + "uobm/queries/atomic_uobm.sparql" | ||
| 49 | , "hermit_uobm1_rolledUp.out" | ||
| 50 | // , "/home/yzhou/java-workspace/test-share/results_new/uobm1/hermit_rolledUp" | ||
| 51 | }; | ||
| 52 | HermitQueryReasoner.main(args); | ||
| 53 | } | ||
| 54 | |||
| 55 | @Test | ||
| 56 | public void fly_rolledUp() throws Exception { | ||
| 57 | HermitQueryReasoner.main( | ||
| 58 | PagodaTester.onto_dir + "fly/fly-all-in-one_rolledUp.owl", | ||
| 59 | // PagodaTester.onto_dir + "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl", | ||
| 60 | null, | ||
| 61 | PagodaTester.onto_dir + "fly/queries/fly_atomic.sparql" | ||
| 62 | , "hermit_fly.out" | ||
| 63 | ); | ||
| 64 | } | ||
| 65 | |||
| 66 | @Test | ||
| 67 | public void npd() throws Exception { | ||
| 68 | HermitQueryReasoner.main( | ||
| 69 | PagodaTester.onto_dir + "npd/npd-all-minus-datatype.owl", | ||
| 70 | PagodaTester.onto_dir + "npd/data/npd-data-dump-minus-datatype-new.ttl", | ||
| 71 | PagodaTester.onto_dir + "npd/queries/atomic_ground.sparql" | ||
| 72 | , "hermit_npd.out" | ||
| 73 | // , "/home/yzhou/java-workspace/test-share/results_new/npd/hermit" | ||
| 74 | ); | ||
| 75 | } | ||
| 76 | |||
| 77 | @Test | ||
| 78 | public void dbpedia() throws Exception { | ||
| 79 | HermitQueryReasoner.main( | ||
| 80 | PagodaTester.onto_dir + "dbpedia/integratedOntology-all-in-one-minus-datatype.owl", | ||
| 81 | PagodaTester.onto_dir + "dbpedia/data/dbpedia-minus-datatype-new.ttl", | ||
| 82 | PagodaTester.onto_dir + "dbpedia/queries/atomic_ground.sparql" | ||
| 83 | , "/home/yzhou/java-workspace/test-share/results_new/dbpedia/hermit" | ||
| 84 | ); | ||
| 85 | } | ||
| 86 | |||
| 87 | @Test | ||
| 88 | public void reactome() throws Exception { | ||
| 89 | HermitQueryReasoner.main( | ||
| 90 | PagodaTester.onto_dir + "bio2rdf/reactome/biopax-level3-processed.owl", | ||
| 91 | PagodaTester.onto_dir + "bio2rdf/reactome/graph sampling/reactome_sample_10.ttl", | ||
| 92 | PagodaTester.onto_dir + "bio2rdf/reactome/queries/atomic_ground.sparql" | ||
| 93 | , "/home/yzhou/java-workspace/test-share/results_new/reactome/hermit_10p" | ||
| 94 | ); | ||
| 95 | } | ||
| 96 | |||
| 97 | @Test | ||
| 98 | public void chembl() throws Exception { | ||
| 99 | HermitQueryReasoner.main( | ||
| 100 | PagodaTester.onto_dir + "bio2rdf/chembl/cco-noDPR.ttl", | ||
| 101 | // null, | ||
| 102 | PagodaTester.onto_dir + "bio2rdf/chembl/graph sampling/sample_1.nt", | ||
| 103 | PagodaTester.onto_dir + "bio2rdf/chembl/queries/atomic_ground.sparql" | ||
| 104 | , "hermit_chembl.out" | ||
| 105 | // , "/home/yzhou/java-workspace/test-share/results_new/chembl/hermit_1p" | ||
| 106 | ); | ||
| 107 | } | ||
| 108 | |||
| 109 | @Test | ||
| 110 | public void uniprot() throws Exception { | ||
| 111 | HermitQueryReasoner.main( | ||
| 112 | PagodaTester.onto_dir + "bio2rdf/uniprot/core-sat.owl", | ||
| 113 | PagodaTester.onto_dir + "bio2rdf/uniprot/graph sampling/sample_1.nt", | ||
| 114 | PagodaTester.onto_dir + "bio2rdf/uniprot/queries/atomic_ground.sparql" | ||
| 115 | , "hermit_uniprot.out" | ||
| 116 | // , "/home/yzhou/java-workspace/test-share/results_new/uniprot/hermit_1p" | ||
| 117 | ); | ||
| 118 | } | ||
| 119 | |||
| 120 | } | ||
