aboutsummaryrefslogtreecommitdiff
path: root/src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java')
-rw-r--r--src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java b/src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java
index 8e28142..71d5752 100644
--- a/src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java
+++ b/src/uk/ac/ox/cs/pagoda/reasoner/MyQueryReasoner.java
@@ -68,7 +68,7 @@ class MyQueryReasoner extends QueryReasoner {
68 } 68 }
69 69
70 ontology = o; 70 ontology = o;
71 program = new DatalogProgram(ontology, properties.getToClassify()); 71 program = new DatalogProgram(ontology);
72// program.getLower().save(); 72// program.getLower().save();
73// program.getUpper().save(); 73// program.getUpper().save();
74// program.getGeneral().save(); 74// program.getGeneral().save();
@@ -154,7 +154,7 @@ class MyQueryReasoner extends QueryReasoner {
154// encoder = new TrackingRuleEncoderDisjVar2(program.getUpper(), trackingStore); 154// encoder = new TrackingRuleEncoderDisjVar2(program.getUpper(), trackingStore);
155// encoder = new TrackingRuleEncoderDisj2(program.getUpper(), trackingStore); 155// encoder = new TrackingRuleEncoderDisj2(program.getUpper(), trackingStore);
156 156
157 // TODO add consistency check by Skolem-upper-bound 157 // TODO? add consistency check by Skolem-upper-bound
158 158
159 if(!isConsistent()) 159 if(!isConsistent())
160 return false; 160 return false;
@@ -225,7 +225,7 @@ class MyQueryReasoner extends QueryReasoner {
225 @Override 225 @Override
226 public void evaluateUpper(QueryRecord queryRecord) { 226 public void evaluateUpper(QueryRecord queryRecord) {
227 if(isDisposed()) throw new DisposedException(); 227 if(isDisposed()) throw new DisposedException();
228 // TODO add new upper store 228 // TODO? add new upper store
229 AnswerTuples rlAnswer = null; 229 AnswerTuples rlAnswer = null;
230 boolean useFull = queryRecord.isBottom() || lazyUpperStore == null; 230 boolean useFull = queryRecord.isBottom() || lazyUpperStore == null;
231 try { 231 try {
@@ -388,7 +388,7 @@ class MyQueryReasoner extends QueryReasoner {
388 Utility.logInfo(">> Semi-Skolemisation <<"); 388 Utility.logInfo(">> Semi-Skolemisation <<");
389 t.reset(); 389 t.reset();
390 390
391 DatalogProgram relevantProgram = new DatalogProgram(relevantSubset, false); // toClassify is false 391 DatalogProgram relevantProgram = new DatalogProgram(relevantSubset);
392 392
393 MultiStageQueryEngine relevantStore = 393 MultiStageQueryEngine relevantStore =
394 new MultiStageQueryEngine("Relevant-store", true); // checkValidity is true 394 new MultiStageQueryEngine("Relevant-store", true); // checkValidity is true