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