My question is what are the possible ways to implement the Jena rules?
Is it necessary that we should always execute the SPARQL query to implement
the rules? If not, what are the alternatives?

What if we just write rules in our Java code and do nothing other than:

 Reasoner myreasoner = new GenericRuleReasoner(Rule.parseRules(rule));
 InfModel infmodel = ModelFactory.createInfModel(myreasoner, model);

Thank you

Reply via email to