[TASK] Add code + rules for rdfs reasoning.
This commit is contained in:
1 parent
935263862e
commit
db9ddeca80
2 files changed
+71
No files matched your search
@@ -47,6 +47,10 @@ public class Main {
|
||||
+ "{ GRAPH <http://streamreasoning.org/roomConnection> { :room :isConnectedTo :room2 } }";
|
||||
engine.execUpdateQueryOverDatasource(updateQuery);
|
||||
*/
|
||||
|
||||
// Enable reasoning with rdfs rules from file and a tbox rdf file.
|
||||
//engine.updateReasoner(c.getSparqlQueryId(), CsparqlUtils.fileToString("examples_files/rdfs.rules"), ReasonerChainingType.FORWARD, CsparqlUtils.serializeRDFFile("examples_files/tbox.rdf"));
|
||||
|
||||
|
||||
// Debugging: Needed to verify which engine is being used
|
||||
//logger.debug("CWD: " + System.getProperty("user.dir"));
|
||||
|
||||
Reference in new issue
Block a user