On 05/01/15 11:33, [email protected] wrote:
Dear All,
I am facing an issue with adding a rule to OntModel in that I am unable to figure out how to add a rule to the OntModel so that the OntModel will be provided to Pellet which shall reason the KB. To this extent I wanted to first add the rule (as RDF nodes using jena rules api) to InfModel and Load the InfModel into OntModel to have a consistent OntModel that will be provided to Pellet.

I think there may be some confusion here. There is no connection between Jena rules and the SWRL support in Pellet. You can't "add" a Jena rule to an ontology. When you specify a Jena rule as part of the inference configuration then the results of running the rule are manifested in the query results but the rule itself does not become part of the ontology.

Dave

Reply via email to