aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryzhou <yzhou@krr-linux.cs.ox.ac.uk>2015-04-23 08:53:17 +0100
committeryzhou <yzhou@krr-linux.cs.ox.ac.uk>2015-04-23 08:53:17 +0100
commit603b62e740489206f1f8a330aeba1f0e70f6a87d (patch)
tree1d3b8a6118eb526f05fe08e9af251b548d17091d
parent1818d6deb118a3496205c3a49267f9b08fa926df (diff)
downloadACQuA-603b62e740489206f1f8a330aeba1f0e70f6a87d.tar.gz
ACQuA-603b62e740489206f1f8a330aeba1f0e70f6a87d.zip
updated readme file
added some output info for input argument in PagodaTester
-rw-r--r--.classpath56
-rw-r--r--.gitignore1
-rw-r--r--README.md37
-rw-r--r--test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java7
4 files changed, 70 insertions, 31 deletions
diff --git a/.classpath b/.classpath
index 8a6a0f3..609d84c 100644
--- a/.classpath
+++ b/.classpath
@@ -1,28 +1,28 @@
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<classpath> 2<classpath>
3 <classpathentry kind="src" output="target/classes" path="src"> 3 <classpathentry kind="src" output="target/classes" path="src">
4 <attributes> 4 <attributes>
5 <attribute name="optional" value="true"/> 5 <attribute name="optional" value="true"/>
6 <attribute name="maven.pomderived" value="true"/> 6 <attribute name="maven.pomderived" value="true"/>
7 </attributes> 7 </attributes>
8 </classpathentry> 8 </classpathentry>
9 <classpathentry kind="src" path="example"/> 9 <classpathentry kind="src" path="example"/>
10 <classpathentry kind="src" output="target/test-classes" path="test"> 10 <classpathentry kind="src" output="target/test-classes" path="test">
11 <attributes> 11 <attributes>
12 <attribute name="optional" value="true"/> 12 <attribute name="optional" value="true"/>
13 <attribute name="maven.pomderived" value="true"/> 13 <attribute name="maven.pomderived" value="true"/>
14 </attributes> 14 </attributes>
15 </classpathentry> 15 </classpathentry>
16 <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> 16 <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
17 <attributes> 17 <attributes>
18 <attribute name="maven.pomderived" value="true"/> 18 <attribute name="maven.pomderived" value="true"/>
19 </attributes> 19 </attributes>
20 </classpathentry> 20 </classpathentry>
21 <classpathentry kind="lib" path="lib/RDFox/Win/JRDFox.jar"/> 21 <classpathentry kind="lib" path="lib/RDFox/Linux/JRDFox.jar"/>
22 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"> 22 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
23 <attributes> 23 <attributes>
24 <attribute name="maven.pomderived" value="true"/> 24 <attribute name="maven.pomderived" value="true"/>
25 </attributes> 25 </attributes>
26 </classpathentry> 26 </classpathentry>
27 <classpathentry kind="output" path="target/classes"/> 27 <classpathentry kind="output" path="target/classes"/>
28</classpath> 28</classpath>
diff --git a/.gitignore b/.gitignore
index 510652a..0d42d8b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
3/backup/ 3/backup/
4/tmp/ 4/tmp/
5/testcase/ 5/testcase/
6/log4j.log
diff --git a/README.md b/README.md
index 422e4af..2a41926 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,35 @@
1# PAGOdA 1PAGOdA
2a conjunctive query answering engine over OWL 2 ontologies 2=====
3
4PAGOdA is a conjunctive query answering engine for OWL 2 ontologies. The instruction how to use it can be found on the following website: http://www.cs.ox.ac.uk/isg/tools/PAGOdA/.
5
6
7Project dependencies/requirements
8=====
9
10- JavaSE 8
11- Maven
12- Eclipse Luna
13
14
15How to compile the project from source in Eclipse?
16=====
17
18- In order to compile the project make sure that you have JavaSE 8 and Eclipse Luna installed on your computer.
19- After cloning the repository by command git clone https://github.com/yujiaoz/PAGOdA.git, you need to load the project into Eclipse and convert it into Maven project.
20- The project depends on a library JRDFox.jar that is not in central maven repository. The library for different operating systems can be found in lib directory. You need to include the correct one for your computer and add it to the build path. Alternative, if you have maven installed on your computer, you could add it into your local maven repository, modify maven dependencies and make sure that you remove it from the build path. If the provided JRDFox.jar doesn't work, you might need to follow the instruction below to compile the project JRDFox by yourself.
21
22
23How to compile RDFox?
24===
25
26- Download https://github.com/yujiaoz/PAGOdA/blob/master/lib/RDFox/RDFox.zip.
27- Extract all files in the zip.
28- Go to the directory RDFox/RDFox.
29- Run command "ant".
30- You will find JRDFox.jar in the diretory build/release/lib.
31
32
33How to run the project?
34===
35
diff --git a/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java b/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java
index 48a2a51..d50a18b 100644
--- a/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java
+++ b/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java
@@ -99,7 +99,7 @@ public class PagodaTester {
99// args = new String[] {dbpedia_tbox, dbpedia_abox, dbpedia_query}; 99// args = new String[] {dbpedia_tbox, dbpedia_abox, dbpedia_query};
100// args = new String[] {travel_tbox, null, dbpedia_query274}; 100// args = new String[] {travel_tbox, null, dbpedia_query274};
101// args = new String[] {fly, null, fly_query}; 101// args = new String[] {fly, null, fly_query};
102// args = new String[] {npd_tbox, npd_abox, npd_query}; 102 args = new String[] {npd_tbox, npd_abox, npd_query};
103// args = new String[] {npd_bench_tbox, npd_bench_abox, npd_bench_query}; 103// args = new String[] {npd_bench_tbox, npd_bench_abox, npd_bench_query};
104// args = new String[] {"../SemFacet/WebContent/WEB-INF/data/dbpedia.owl", "../SemFacet/WebContent/WEB-INF/data/dbpediaA.nt", null}; 104// args = new String[] {"../SemFacet/WebContent/WEB-INF/data/dbpedia.owl", "../SemFacet/WebContent/WEB-INF/data/dbpediaA.nt", null};
105// args = new String[] {"../core/WebContent/WEB-INF/data/fly.owl", "../core/WebContent/WEB-INF/data/fly-data.nt", null}; 105// args = new String[] {"../core/WebContent/WEB-INF/data/fly.owl", "../core/WebContent/WEB-INF/data/fly-data.nt", null};
@@ -129,6 +129,11 @@ public class PagodaTester {
129 if (args.length > index) properties.setToClassify(Boolean.parseBoolean(args[index++].substring(1))); 129 if (args.length > index) properties.setToClassify(Boolean.parseBoolean(args[index++].substring(1)));
130 if (args.length > index) properties.setToCallHermiT(Boolean.parseBoolean(args[index++].substring(1))); 130 if (args.length > index) properties.setToCallHermiT(Boolean.parseBoolean(args[index++].substring(1)));
131 131
132 System.out.println("Ontology file: " + properties.getOntologyPath());
133 System.out.println("Data files: " + properties.getDataPath());
134 System.out.println("Query files: " + properties.getQueryPath());
135 System.out.println("Answer file: " + properties.getAnswerPath());
136
132 QueryReasoner pagoda = null; 137 QueryReasoner pagoda = null;
133 138
134 try { 139 try {