aboutsummaryrefslogtreecommitdiff
path: root/test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java
diff options
context:
space:
mode:
authoryzhou <yujiao.zhou@gmail.com>2015-04-21 10:34:27 +0100
committeryzhou <yujiao.zhou@gmail.com>2015-04-21 10:34:27 +0100
commit9ce65c5a963b03ee97fe9cb6c5aa65a3c04a80a8 (patch)
tree47511c0fb89dccff0db4b5990522e04f294d795b /test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java
parentb1ac207612ee8b045244253fb94b866104bc34f2 (diff)
downloadACQuA-9ce65c5a963b03ee97fe9cb6c5aa65a3c04a80a8.tar.gz
ACQuA-9ce65c5a963b03ee97fe9cb6c5aa65a3c04a80a8.zip
initial version
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java')
-rw-r--r--test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java173
1 files changed, 173 insertions, 0 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java b/test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java
new file mode 100644
index 0000000..2a148cc
--- /dev/null
+++ b/test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java
@@ -0,0 +1,173 @@
1package uk.ac.ox.cs.pagoda.junit;
2
3import org.junit.Test;
4
5import uk.ac.ox.cs.pagoda.tester.PagodaTester;
6
7public class JAIR_PAGOdA {
8
9 public void lubm1() {
10 String[] args = new String[] {
11 PagodaTester.onto_dir + "lubm/univ-bench.owl",
12 PagodaTester.onto_dir + "lubm/data/lubm1.ttl",
13 PagodaTester.onto_dir + "lubm/queries/test.sparql"
14 };
15 PagodaTester.main(args);
16 AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/lubm1/pagoda");
17 }
18
19
20 public void lubm1_conj() {
21 String[] args = new String[] {
22 PagodaTester.onto_dir + "lubm/univ-bench.owl",
23 PagodaTester.onto_dir + "lubm/data/lubm1.ttl",
24 PagodaTester.onto_dir + "lubm/queries/test_pellet.sparql"
25 };
26 PagodaTester.main(args);
27 AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/lubm1/pagoda_conj");
28 }
29
30
31 public void lubm1_rolledUp() {
32 String[] args = new String[] {
33 "/home/yzhou/backup/20141212/univ-bench-queries.owl",
34 PagodaTester.onto_dir + "lubm/data/lubm1.ttl",
35 PagodaTester.onto_dir + "lubm/queries/atomic_lubm.sparql"
36 };
37 PagodaTester.main(args);
38 AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/lubm1/pagoda_rolledUp");
39 }
40
41
42 public void uobm1() {
43 String[] args = new String[] {
44 PagodaTester.onto_dir + "uobm/univ-bench-dl.owl",
45 PagodaTester.onto_dir + "uobm/data/uobm1.ttl",
46 PagodaTester.onto_dir + "uobm/queries/standard.sparql"
47 };
48 PagodaTester.main(args);
49 AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/uobm1/pagoda");
50 }
51
52
53 public void uobm1_conj() {
54 String[] args = new String[] {
55 PagodaTester.onto_dir + "uobm/univ-bench-dl.owl",
56 PagodaTester.onto_dir + "uobm/data/uobm1.ttl",
57 PagodaTester.onto_dir + "uobm/queries/standard_pellet.sparql"
58 };
59 PagodaTester.main(args);
60 AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/uobm1/pagoda_conj");
61 }
62
63
64 public void uobm1_rolledUp() {
65 String[] args = new String[] {
66 "/home/yzhou/backup/20141212/univ-bench-dl-queries.owl",
67 PagodaTester.onto_dir + "uobm/data/uobm1.ttl",
68 PagodaTester.onto_dir + "uobm/queries/atomic_uobm.sparql"
69 };
70 PagodaTester.main(args);
71// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/uobm1/pagoda_rolledUp");
72 }
73
74
75 public void fly() {
76 String[] args = new String[] {
77 PagodaTester.onto_dir + "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl",
78 null,
79 PagodaTester.onto_dir + "fly/queries/fly_pellet.sparql"
80 };
81 PagodaTester.main(args);
82// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/fly/pagoda");
83 }
84
85 @Test
86 public void fly_conj() {
87 String[] args = new String[] {
88 PagodaTester.onto_dir + "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl",
89 null,
90 PagodaTester.onto_dir + "fly/queries/fly_pellet.sparql"
91 };
92 PagodaTester.main(args);
93 AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/fly/pagoda_conj");
94 }
95
96
97 public void fly_rolledUp() {
98 PagodaTester.main(new String[] {
99// PagodaTester.onto_dir + "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl",
100 PagodaTester.onto_dir + "fly/fly-all-in-one_rolledUp.owl",
101 null,
102 PagodaTester.onto_dir + "fly/queries/fly_atomic.sparql"
103 });
104// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/fly/pagoda_rolledUp");
105 }
106
107 public void dbpedia() {
108 PagodaTester.main(
109 PagodaTester.onto_dir + "dbpedia/integratedOntology-all-in-one-minus-datatype.owl",
110 PagodaTester.onto_dir + "dbpedia/data/dbpedia-minus-datatype-new.ttl",
111 PagodaTester.onto_dir + "dbpedia/queries/atomic_ground.sparql"
112 , "dbpedia.ans"
113 );
114
115// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/dbpedia/pagoda");
116 }
117
118 public void npd() {
119 PagodaTester.main(
120 PagodaTester.onto_dir + "npd/npd-all-minus-datatype.owl",
121 PagodaTester.onto_dir + "npd/data/npd-data-dump-minus-datatype-new.ttl",
122 PagodaTester.onto_dir + "npd/queries/atomic_ground.sparql"
123 , "npd.ans"
124 );
125
126// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/npd/pagoda");
127 }
128
129 public void reactome() {
130 PagodaTester.main(
131 PagodaTester.onto_dir + "bio2rdf/reactome/biopax-level3-processed.owl",
132 PagodaTester.onto_dir + "bio2rdf/reactome/graph sampling/reactome_sample_10.ttl",
133// null,
134// PagodaTester.onto_dir + "bio2rdf/reactome/queries/atomic_ground.sparql"
135 PagodaTester.onto_dir + "bio2rdf/reactome/queries/example.sparql"
136 , "pagoda_reactome.ans"
137 );
138 AllTests.copy("log4j.log", "output/jair/pagoda_reactome.example");
139
140// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/reactome/pagoda_10p");
141 }
142
143 public void chembl() {
144 PagodaTester.main(
145 PagodaTester.onto_dir + "bio2rdf/chembl/cco-noDPR.ttl",
146 PagodaTester.onto_dir + "bio2rdf/chembl/graph sampling/sample_1.nt",
147// PagodaTester.onto_dir + "bio2rdf/chembl/queries/atomic_ground.sparql"
148 PagodaTester.onto_dir + "bio2rdf/chembl/queries/example.sparql"
149 , "pagoda_chembl.ans"
150 );
151 AllTests.copy("log4j.log", "output/jair/pagoda_chembl.example");
152// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/chembl/pagoda_1p");
153 }
154
155 public void uniprot() {
156 PagodaTester.main(
157 PagodaTester.onto_dir + "bio2rdf/uniprot/core-sat-processed.owl",
158 PagodaTester.onto_dir + "bio2rdf/uniprot/graph sampling/sample_1.nt",
159// null,
160// PagodaTester.onto_dir + "bio2rdf/uniprot/queries/atomic_ground.sparql"
161 PagodaTester.onto_dir + "bio2rdf/uniprot/queries/example.sparql"
162 , "pagoda_uniprot.ans"
163 );
164 AllTests.copy("log4j.log", "output/jair/pagoda_uniprot.example");
165// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/uniprot/pagoda_1p");
166 }
167
168
169 public static void main(String... args) {
170 new JAIR_PAGOdA().fly();
171 }
172
173}