diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-05-14 16:56:26 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-05-14 16:56:26 +0100 |
| commit | bd995407098d1b0c79c17a28b0b23a2c24a493c6 (patch) | |
| tree | e4bf7a3abf566a0ae29a7cf27d8685f2e8343909 /src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java | |
| parent | 6fd8b21066852cbc21e247e7cf0a2f423ebc1658 (diff) | |
| download | ACQuA-bd995407098d1b0c79c17a28b0b23a2c24a493c6.tar.gz ACQuA-bd995407098d1b0c79c17a28b0b23a2c24a493c6.zip | |
It executes. Matching bounds for query 18 of UOBM.
It is not stable: several critical fixes to do!
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); |
