aboutsummaryrefslogtreecommitdiff
path: root/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaReactome.java
diff options
context:
space:
mode:
authorFederico Igne <federico.igne@cs.ox.ac.uk>2022-05-10 18:17:06 +0100
committerFederico Igne <federico.igne@cs.ox.ac.uk>2022-05-11 12:34:47 +0100
commit17bd9beaf7f358a44e5bf36a5855fe6727d506dc (patch)
tree47e9310a0cff869d9ec017dcb2c81876407782c8 /test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaReactome.java
parent8651164cd632a5db310b457ce32d4fbc97bdc41c (diff)
downloadACQuA-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/pagoda/global_tests/TestPagodaReactome.java')
-rw-r--r--test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaReactome.java53
1 files changed, 0 insertions, 53 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaReactome.java b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaReactome.java
deleted file mode 100644
index 8a8a596..0000000
--- a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaReactome.java
+++ /dev/null
@@ -1,53 +0,0 @@
1package uk.ac.ox.cs.pagoda.global_tests;
2
3import org.testng.annotations.Test;
4import uk.ac.ox.cs.pagoda.Pagoda;
5import uk.ac.ox.cs.pagoda.util.TestUtil;
6
7import java.io.IOException;
8import java.nio.file.Paths;
9
10public class TestPagodaReactome {
11
12 @Test(groups = {"justExecute"})
13 public void justExecute() throws IOException {
14 String ontoDir = TestUtil.getConfig().getProperty("ontoDir");
15
16 Pagoda.builder()
17 .ontology(Paths.get(ontoDir, "reactome/biopax-level3-processed.owl"))
18 .data(Paths.get(ontoDir, "reactome/data/sample_10.ttl"))
19 .query(Paths.get(ontoDir, "reactome/test.sparql"))
20 .classify(true)
21 .hermit(true)
22 .build()
23 .run();
24 }
25
26 @Test(groups = {"sygenia"})
27 public void justExecute_sygenia() throws IOException {
28 String ontoDir = TestUtil.getConfig().getProperty("ontoDir");
29
30 Pagoda.builder()
31 .ontology(Paths.get(ontoDir, "reactome/biopax-level3-processed.owl"))
32 .data(Paths.get(ontoDir, "reactome/data/sample_10.ttl"))
33 .query(Paths.get(ontoDir, "reactome/reactome_sygenia_queries.sparql"))
34 .classify(true)
35 .hermit(true)
36 .build()
37 .run();
38 }
39
40 @Test(groups = {"existential"})
41 public void justExecute_existential() throws IOException {
42 String ontoDir = TestUtil.getConfig().getProperty("ontoDir");
43
44 Pagoda.builder()
45 .ontology(Paths.get(ontoDir, "reactome/biopax-level3-processed.owl"))
46 .data(Paths.get(ontoDir, "reactome/data/sample_10.ttl"))
47 .query(Paths.get(ontoDir, "reactome/existential_queries.sparql"))
48// .query(Paths.get(ontoDir, "reactome/Queries_by_Feier-et-al.sparql"))
49 .build()
50 .run();
51 }
52
53}