diff options
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java')
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java b/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java index 05a7d70..51b41f9 100644 --- a/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java +++ b/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java | |||
| @@ -17,7 +17,7 @@ public class PagodaTester { | |||
| 17 | // public static final String onto_dir = "/media/RDFData/yzhou/"; | 17 | // public static final String onto_dir = "/media/RDFData/yzhou/"; |
| 18 | // public static final String onto_dir = "/users/yzhou/ontologies/"; | 18 | // public static final String onto_dir = "/users/yzhou/ontologies/"; |
| 19 | // public static final String onto_dir = "/home/scratch/yzhou/ontologies/"; | 19 | // public static final String onto_dir = "/home/scratch/yzhou/ontologies/"; |
| 20 | public static final String onto_dir = "/home/yzhou/krr-nas-share/Yujiao/ontologies/"; | 20 | public static final String onto_dir = "/home/alessandro/Big_files/Ontologies/"; |
| 21 | 21 | ||
| 22 | public static final String fly = onto_dir + "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl"; | 22 | public static final String fly = onto_dir + "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl"; |
| 23 | public static final String fly_query = onto_dir + "fly/queries/fly.sparql"; | 23 | public static final String fly_query = onto_dir + "fly/queries/fly.sparql"; |
| @@ -88,12 +88,12 @@ public class PagodaTester { | |||
| 88 | 88 | ||
| 89 | public static final String atlas_tbox = onto_dir + "bio2rdf/atlas/gxaterms.owl"; | 89 | public static final String atlas_tbox = onto_dir + "bio2rdf/atlas/gxaterms.owl"; |
| 90 | public static final String atlas_abox = onto_dir + "bio2rdf/atlas/graph sampling/sample_1.nt"; | 90 | public static final String atlas_abox = onto_dir + "bio2rdf/atlas/graph sampling/sample_1.nt"; |
| 91 | public static final String atlas_queries = onto_dir + "bio2rdf/atlas/queries/atomic_one.sparql"; | 91 | public static final String atlas_queries = onto_dir + "bio2rdf/atlas/queries/atomic_one.sparql"; |
| 92 | 92 | ||
| 93 | public static void main(String... args) { | 93 | public static void main(String... args) { |
| 94 | if (args.length == 0) { | 94 | if (args.length == 0) { |
| 95 | // args = new String[] {test_tbox, test_abox, test_query}; | 95 | // args = new String[] {test_tbox, test_abox, test_query}; |
| 96 | // args = new String[] {lubm_tbox, lubm_abox, lubm_query.replace(".sparql", "_all_pagoda.sparql")}; | 96 | args = new String[] {lubm_tbox, lubm_abox, lubm_query}; |
| 97 | // args = new String[] {uobm_tbox, uobm_abox, uobm_query.replace(".sparql", "_all_pagoda.sparql")}; | 97 | // args = new String[] {uobm_tbox, uobm_abox, uobm_query.replace(".sparql", "_all_pagoda.sparql")}; |
| 98 | // args = new String[] {fly, "null", fly_query.replace(".sparql", "_pellet.sparql") }; | 98 | // args = new String[] {fly, "null", fly_query.replace(".sparql", "_pellet.sparql") }; |
| 99 | // args = new String[] {dbpedia_tbox, dbpedia_abox, dbpedia_query}; | 99 | // args = new String[] {dbpedia_tbox, dbpedia_abox, dbpedia_query}; |
| @@ -129,10 +129,10 @@ 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()); | 132 | Utility.logInfo("Ontology file: " + properties.getOntologyPath()); |
| 133 | System.out.println("Data files: " + properties.getDataPath()); | 133 | Utility.logInfo("Data files: " + properties.getDataPath()); |
| 134 | System.out.println("Query files: " + properties.getQueryPath()); | 134 | Utility.logInfo("Query files: " + properties.getQueryPath()); |
| 135 | System.out.println("Answer file: " + properties.getAnswerPath()); | 135 | Utility.logInfo("Answer file: " + properties.getAnswerPath()); |
| 136 | 136 | ||
| 137 | QueryReasoner pagoda = null; | 137 | QueryReasoner pagoda = null; |
| 138 | 138 | ||
