[Pellet-users] SWRL is supported din the OWLAPI right?
Michael Smith
msmith at clarkparsia.com
Thu Mar 6 14:20:58 UTC 2008
On Thu, 2008-03-06 at 08:10 -0500, Crapo, Andrew (GE, Research) wrote:
> Is there a code example of this somewhere? The file MiscRuleTests.java has examples of adding rules to a KnowledgeBase instance, but I can't see any way to save the results. I'm assuming that the support through the OWLAPI is using OWLOntology, not KnowledgeBase, so I can open an OWL file, add rules, and save. I just haven't been able to find either a coded example or documentation that explains how I would do that using the OWLAPI.
Example 3 in the OWLAPI documentation [1] shows how to create a rule,
add it to an OWLOntology, and save that ontology.
--
Mike Smith
Clark & Parsia
[1] http://owlapi.sourceforge.net/documentation.html
More information about the Pellet-users
mailing list