diff options
Diffstat (limited to 'src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java')
| -rw-r--r-- | src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java b/src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java index 233963e..36ea7de 100644 --- a/src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java +++ b/src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java | |||
| @@ -33,7 +33,8 @@ public class MyQueryReasoner extends QueryReasoner { | |||
| 33 | DatalogProgram program; | 33 | DatalogProgram program; |
| 34 | 34 | ||
| 35 | BasicQueryEngine rlLowerStore = null; | 35 | BasicQueryEngine rlLowerStore = null; |
| 36 | BasicQueryEngine lazyUpperStore = null; | 36 | BasicQueryEngine lazyUpperStore = null; |
| 37 | BasicQueryEngine limitedSkolemUpperStore; | ||
| 37 | // boolean[] namedIndividuals_lazyUpper; | 38 | // boolean[] namedIndividuals_lazyUpper; |
| 38 | 39 | ||
| 39 | OWLOntology elho_ontology; | 40 | OWLOntology elho_ontology; |
| @@ -49,7 +50,6 @@ public class MyQueryReasoner extends QueryReasoner { | |||
| 49 | private Collection<String> predicatesWithGap = null; | 50 | private Collection<String> predicatesWithGap = null; |
| 50 | private Boolean satisfiable; | 51 | private Boolean satisfiable; |
| 51 | private ConsistencyManager consistency = new ConsistencyManager(this); | 52 | private ConsistencyManager consistency = new ConsistencyManager(this); |
| 52 | BasicQueryEngine limitedSkolemUpperStore; | ||
| 53 | 53 | ||
| 54 | public MyQueryReasoner() { | 54 | public MyQueryReasoner() { |
| 55 | setup(true, true); | 55 | setup(true, true); |
| @@ -163,10 +163,11 @@ public class MyQueryReasoner extends QueryReasoner { | |||
| 163 | } | 163 | } |
| 164 | if (tag == -1) return false; | 164 | if (tag == -1) return false; |
| 165 | } | 165 | } |
| 166 | if (consistency.checkSkolemUpper()) { | 166 | // FIXME nullPointerException |
| 167 | satisfiable = true; | 167 | // if (consistency.checkSkolemUpper()) { |
| 168 | Utility.logInfo("time for satisfiability checking: " + t.duration()); | 168 | // satisfiable = true; |
| 169 | } | 169 | // Utility.logInfo("time for satisfiability checking: " + t.duration()); |
| 170 | // } | ||
| 170 | 171 | ||
| 171 | trackingStore.importRDFData(name, datafile); | 172 | trackingStore.importRDFData(name, datafile); |
| 172 | trackingStore.materialise("saturate named individuals", originalMarkProgram); | 173 | trackingStore.materialise("saturate named individuals", originalMarkProgram); |
