For instance, I have multiple rules, say, 10 rules, can I write them in one
String value. For example,
String myrule= "[rule1.........] +
"[rule2.......]+
"[rule3........] + etc
and at the end, just write
Reasoner reasoner2 = new GenericRuleReasoner(Rule.parseRules(myrule));
If have read somewhere that we can also write all the rules in a text file
and import it to the project, but in that case how can we run SPARQL
queries against that rules then?
Any suggestions and guidance would be highly appreciated.