[TASK] Use hybrid reasoning approach
This commit is contained in:
parent
5ea6bb38b9
commit
142be2955d
|
@ -221,7 +221,7 @@ public class SimulationContext {
|
||||||
engine.updateReasoner(
|
engine.updateReasoner(
|
||||||
resultProxy.getSparqlQueryId(),
|
resultProxy.getSparqlQueryId(),
|
||||||
CsparqlUtils.fileToString("data/rdfs.rules"),
|
CsparqlUtils.fileToString("data/rdfs.rules"),
|
||||||
ReasonerChainingType.FORWARD,
|
ReasonerChainingType.HYBRID,
|
||||||
CsparqlUtils.serializeRDFFile("data/carSimulationTBox.rdf")
|
CsparqlUtils.serializeRDFFile("data/carSimulationTBox.rdf")
|
||||||
);
|
);
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
|
|
|
@ -41,7 +41,7 @@ public class ReasoningTester extends RdfStream implements Observer {
|
||||||
engine.updateReasoner(
|
engine.updateReasoner(
|
||||||
resultProxy.getSparqlQueryId(),
|
resultProxy.getSparqlQueryId(),
|
||||||
CsparqlUtils.fileToString("data/rdfs.rules"),
|
CsparqlUtils.fileToString("data/rdfs.rules"),
|
||||||
ReasonerChainingType.FORWARD,
|
ReasonerChainingType.HYBRID,
|
||||||
CsparqlUtils.serializeRDFFile("data/carSimulationTBox.rdf")
|
CsparqlUtils.serializeRDFFile("data/carSimulationTBox.rdf")
|
||||||
);
|
);
|
||||||
resultProxy.addObserver(this);
|
resultProxy.addObserver(this);
|
||||||
|
|
Loading…
Reference in New Issue