From 142be2955d09cec85c826a31ee93f8ac58fa17f2 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Fri, 7 Oct 2016 14:22:20 +0200 Subject: [PATCH] [TASK] Use hybrid reasoning approach --- src/main/java/lu/jpt/csparqlproject/SimulationContext.java | 2 +- src/main/java/lu/jpt/csparqlproject/misc/ReasoningTester.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/lu/jpt/csparqlproject/SimulationContext.java b/src/main/java/lu/jpt/csparqlproject/SimulationContext.java index a7e82bd..7f6e47b 100644 --- a/src/main/java/lu/jpt/csparqlproject/SimulationContext.java +++ b/src/main/java/lu/jpt/csparqlproject/SimulationContext.java @@ -221,7 +221,7 @@ public class SimulationContext { engine.updateReasoner( resultProxy.getSparqlQueryId(), CsparqlUtils.fileToString("data/rdfs.rules"), - ReasonerChainingType.FORWARD, + ReasonerChainingType.HYBRID, CsparqlUtils.serializeRDFFile("data/carSimulationTBox.rdf") ); } catch(Exception e) { diff --git a/src/main/java/lu/jpt/csparqlproject/misc/ReasoningTester.java b/src/main/java/lu/jpt/csparqlproject/misc/ReasoningTester.java index a50dcd9..5f215df 100644 --- a/src/main/java/lu/jpt/csparqlproject/misc/ReasoningTester.java +++ b/src/main/java/lu/jpt/csparqlproject/misc/ReasoningTester.java @@ -41,7 +41,7 @@ public class ReasoningTester extends RdfStream implements Observer { engine.updateReasoner( resultProxy.getSparqlQueryId(), CsparqlUtils.fileToString("data/rdfs.rules"), - ReasonerChainingType.FORWARD, + ReasonerChainingType.HYBRID, CsparqlUtils.serializeRDFFile("data/carSimulationTBox.rdf") ); resultProxy.addObserver(this);