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 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java b/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java index 5e49f79..b97d85e 100644 --- a/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java +++ b/test/uk/ac/ox/cs/pagoda/tester/PagodaTester.java | |||
| @@ -94,11 +94,11 @@ public class PagodaTester { | |||
| 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}; | 96 | // args = new String[] {lubm_tbox, lubm_abox, lubm_query}; |
| 97 | args = new String[] {uobm_tbox, uobm_abox, uobm_query, "/home/alessandro/Desktop/uobm1.ans"}; | 97 | // args = new String[] {uobm_tbox, uobm_abox, uobm_query}; |
| 98 | // args = new String[] {fly, "null", fly_query.replace(".sparql", "_pellet.sparql") }; | 98 | // args = new String[] {fly, "null", fly_query}; |
| 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, 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}; |
| @@ -119,7 +119,7 @@ public class PagodaTester { | |||
| 119 | // args[2] = args[2].replace(".sparql", "_pellet.sparql"); | 119 | // args[2] = args[2].replace(".sparql", "_pellet.sparql"); |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | Properties properties = new Properties("config/uobm.conf"); | 122 | Properties properties = new Properties("config/uobm.properties"); |
| 123 | 123 | ||
| 124 | int index = 0; | 124 | int index = 0; |
| 125 | if (args.length > index) properties.setOntologyPath(args[index++]); | 125 | if (args.length > index) properties.setOntologyPath(args[index++]); |
| @@ -157,7 +157,7 @@ public class PagodaTester { | |||
| 157 | if (pagoda != null) pagoda.dispose(); | 157 | if (pagoda != null) pagoda.dispose(); |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | Utility.closeCurrentOut(); | 160 | // Utility.closeCurrentOut(); |
| 161 | 161 | ||
| 162 | if (properties.getShellMode()) System.exit(0); | 162 | if (properties.getShellMode()) System.exit(0); |
| 163 | } | 163 | } |
