diff options
| author | Federico Igne <federico.igne@cs.ox.ac.uk> | 2022-05-10 18:17:06 +0100 |
|---|---|---|
| committer | Federico Igne <federico.igne@cs.ox.ac.uk> | 2022-05-11 12:34:47 +0100 |
| commit | 17bd9beaf7f358a44e5bf36a5855fe6727d506dc (patch) | |
| tree | 47e9310a0cff869d9ec017dcb2c81876407782c8 /test/uk/ac/ox/cs/hermit/JAIR_HermiT.java | |
| parent | 8651164cd632a5db310b457ce32d4fbc97bdc41c (diff) | |
| download | ACQuA-17bd9beaf7f358a44e5bf36a5855fe6727d506dc.tar.gz ACQuA-17bd9beaf7f358a44e5bf36a5855fe6727d506dc.zip | |
[pagoda] Move project to Scala
This commit includes a few changes:
- The repository still uses Maven to manage dependency but it is now a
Scala project.
- The code has been ported from OWLAPI 3.4.10 to 5.1.20
- A proof of concept program using both RSAComb and PAGOdA has been
added.
Diffstat (limited to 'test/uk/ac/ox/cs/hermit/JAIR_HermiT.java')
| -rw-r--r-- | test/uk/ac/ox/cs/hermit/JAIR_HermiT.java | 129 |
1 files changed, 0 insertions, 129 deletions
diff --git a/test/uk/ac/ox/cs/hermit/JAIR_HermiT.java b/test/uk/ac/ox/cs/hermit/JAIR_HermiT.java deleted file mode 100644 index 72e7af8..0000000 --- a/test/uk/ac/ox/cs/hermit/JAIR_HermiT.java +++ /dev/null | |||
| @@ -1,129 +0,0 @@ | |||
| 1 | package uk.ac.ox.cs.hermit; | ||
| 2 | |||
| 3 | import org.junit.Test; | ||
| 4 | import uk.ac.ox.cs.pagoda.util.TestUtil; | ||
| 5 | |||
| 6 | public class JAIR_HermiT { | ||
| 7 | |||
| 8 | @Test | ||
| 9 | public void lubm1() throws Exception { | ||
| 10 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 11 | String[] args = new String[] { | ||
| 12 | TestUtil.combinePaths(ontoDir, "lubm/univ-bench.owl"), | ||
| 13 | TestUtil.combinePaths(ontoDir, "lubm/data/lubm1_owl"), | ||
| 14 | TestUtil.combinePaths(ontoDir, "lubm/queries/answersCorrectness.sparql") | ||
| 15 | // , "/home/yzhou/java-workspace/answersCorrectness-share/results_new/lubm1/hermit" | ||
| 16 | }; | ||
| 17 | HermitQueryReasoner.main(args); | ||
| 18 | } | ||
| 19 | |||
| 20 | @Test | ||
| 21 | public void lubm1_rolledUp() throws Exception { | ||
| 22 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 23 | String[] args = new String[] { | ||
| 24 | "/home/yzhou/backup/20141212/univ-bench-queries.owl", | ||
| 25 | TestUtil.combinePaths(ontoDir, "lubm/data/lubm1_owl"), | ||
| 26 | TestUtil.combinePaths(ontoDir, "lubm/queries/atomic_lubm.sparql") | ||
| 27 | // , "/home/yzhou/java-workspace/answersCorrectness-share/results_new/lubm1/hermit_rolledUp" | ||
| 28 | }; | ||
| 29 | HermitQueryReasoner.main(args); | ||
| 30 | } | ||
| 31 | |||
| 32 | @Test | ||
| 33 | public void uobm1() throws Exception { | ||
| 34 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 35 | String[] args = new String[] { | ||
| 36 | TestUtil.combinePaths(ontoDir, "uobm/univ-bench-dl.owl"), | ||
| 37 | TestUtil.combinePaths(ontoDir, "uobm/data/uobm1_owl_withDeclaration"), | ||
| 38 | TestUtil.combinePaths(ontoDir, "uobm/queries/standard.sparql") | ||
| 39 | // , "hermit_uobm1.out" | ||
| 40 | // , "/home/yzhou/java-workspace/answersCorrectness-share/results_new/uobm1/hermit" | ||
| 41 | }; | ||
| 42 | HermitQueryReasoner.main(args); | ||
| 43 | } | ||
| 44 | |||
| 45 | @Test | ||
| 46 | public void uobm1_rolledUp() throws Exception { | ||
| 47 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 48 | String[] args = new String[] { | ||
| 49 | "/home/yzhou/backup/20141212/univ-bench-dl-queries.owl", | ||
| 50 | TestUtil.combinePaths(ontoDir, "uobm/data/uobm1_owl_withDeclaration"), | ||
| 51 | TestUtil.combinePaths(ontoDir, "uobm/queries/atomic_uobm.sparql") | ||
| 52 | , "hermit_uobm1_rolledUp.out" | ||
| 53 | // , "/home/yzhou/java-workspace/answersCorrectness-share/results_new/uobm1/hermit_rolledUp" | ||
| 54 | }; | ||
| 55 | HermitQueryReasoner.main(args); | ||
| 56 | } | ||
| 57 | |||
| 58 | @Test | ||
| 59 | public void fly_rolledUp() throws Exception { | ||
| 60 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 61 | HermitQueryReasoner.main( | ||
| 62 | TestUtil.combinePaths(ontoDir, "fly/fly-all-in-one_rolledUp.owl"), | ||
| 63 | // TestUtil.combinePaths(ontoDir, "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl", | ||
| 64 | null, | ||
| 65 | TestUtil.combinePaths(ontoDir, "fly/queries/fly_atomic.sparql") | ||
| 66 | , "hermit_fly.out" | ||
| 67 | ); | ||
| 68 | } | ||
| 69 | |||
| 70 | @Test | ||
| 71 | public void npd() throws Exception { | ||
| 72 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 73 | HermitQueryReasoner.main( | ||
| 74 | TestUtil.combinePaths(ontoDir, "npd/npd-all-minus-datatype.owl"), | ||
| 75 | TestUtil.combinePaths(ontoDir, "npd/data/npd-data-dump-minus-datatype-new.ttl"), | ||
| 76 | TestUtil.combinePaths(ontoDir, "npd/queries/atomic_ground.sparql") | ||
| 77 | , "hermit_npd.out" | ||
| 78 | // , "/home/yzhou/java-workspace/answersCorrectness-share/results_new/npd/hermit" | ||
| 79 | ); | ||
| 80 | } | ||
| 81 | |||
| 82 | @Test | ||
| 83 | public void dbpedia() throws Exception { | ||
| 84 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 85 | HermitQueryReasoner.main( | ||
| 86 | TestUtil.combinePaths(ontoDir, "dbpedia/integratedOntology-all-in-one-minus-datatype.owl"), | ||
| 87 | TestUtil.combinePaths(ontoDir, "dbpedia/data/dbpedia-minus-datatype-new.ttl"), | ||
| 88 | TestUtil.combinePaths(ontoDir, "dbpedia/queries/atomic_ground.sparql") | ||
| 89 | , "/home/yzhou/java-workspace/answersCorrectness-share/results_new/dbpedia/hermit" | ||
| 90 | ); | ||
| 91 | } | ||
| 92 | |||
| 93 | @Test | ||
| 94 | public void reactome() throws Exception { | ||
| 95 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 96 | HermitQueryReasoner.main( | ||
| 97 | TestUtil.combinePaths(ontoDir, "bio2rdf/reactome/biopax-level3-processed.owl"), | ||
| 98 | TestUtil.combinePaths(ontoDir, "bio2rdf/reactome/graph sampling/reactome_sample_10.ttl"), | ||
| 99 | TestUtil.combinePaths(ontoDir, "bio2rdf/reactome/queries/atomic_ground.sparql") | ||
| 100 | , "/home/yzhou/java-workspace/answersCorrectness-share/results_new/reactome/hermit_10p" | ||
| 101 | ); | ||
| 102 | } | ||
| 103 | |||
| 104 | @Test | ||
| 105 | public void chembl() throws Exception { | ||
| 106 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 107 | HermitQueryReasoner.main( | ||
| 108 | TestUtil.combinePaths(ontoDir, "bio2rdf/chembl/cco-noDPR.ttl"), | ||
| 109 | // null, | ||
| 110 | TestUtil.combinePaths(ontoDir, "bio2rdf/chembl/graph sampling/sample_1.nt"), | ||
| 111 | TestUtil.combinePaths(ontoDir, "bio2rdf/chembl/queries/atomic_ground.sparql") | ||
| 112 | , "hermit_chembl.out" | ||
| 113 | // , "/home/yzhou/java-workspace/answersCorrectness-share/results_new/chembl/hermit_1p" | ||
| 114 | ); | ||
| 115 | } | ||
| 116 | |||
| 117 | @Test | ||
| 118 | public void uniprot() throws Exception { | ||
| 119 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 120 | HermitQueryReasoner.main( | ||
| 121 | TestUtil.combinePaths(ontoDir, "bio2rdf/uniprot/core-sat.owl"), | ||
| 122 | TestUtil.combinePaths(ontoDir, "bio2rdf/uniprot/graph sampling/sample_1.nt"), | ||
| 123 | TestUtil.combinePaths(ontoDir, "bio2rdf/uniprot/queries/atomic_ground.sparql") | ||
| 124 | , "hermit_uniprot.out" | ||
| 125 | // , "/home/yzhou/java-workspace/answersCorrectness-share/results_new/uniprot/hermit_1p" | ||
| 126 | ); | ||
| 127 | } | ||
| 128 | |||
| 129 | } | ||
