[Pellet-users] pellet in jena

Michael Smith msmith at clarkparsia.com
Wed Oct 24 13:32:52 UTC 2007


On Fri, 2007-10-19 at 13:03 +0000, Christophe Vasavoir... wrote:

> So I want to test the pellet reasoner on my ontologie.
> So I want to load my ontologie in a model, and apply pellet rules on
> it.
> I'd like to have my model in a file, and my rules in another one,
> apply the rules, and store
> the "modified by rule"-ontolgoie in a new owl file.
> I have search in the mailing liste and in exemples, but I didn't find
> an complet exemple
> for what I want to do.
> Someone is able to show me the way for doing it ? I start some try but
> not realy successfull,
> my ontologie is readable, but I have problems for apply the rules.

Using Pellet with Jena is covered in the FAQ at [1].  Further examples
exist in the Pellet distribution (see the examples directory).  If you
create a Pellet backed OntModel, using listStatements [2] will give you
asserted + inferred statements, an could be used to produce your
"modified by rule" ontology. (In Pellet 1.5.0 and previous releases
listStatements is incomplete.  This bug has been fixed for the
soon-to-appear 1.5.1).

> I find swrl rules not realy easy to use, is there any  
> logicLanguage(human readable)<->swrl translator ?

For free, the Protege SWRLTab [3] may satisfy your needs. I believe
TopBraid Composer (which is non-free software) also provides some SWRL
visualization.

Regards,
-- 
Mike Smith

Clark & Parsia

[1] http://pellet.owldl.com/faq/using-pellet-in-jena/
[2]
http://jena.sourceforge.net/javadoc/com/hp/hpl/jena/rdf/model/Model.html#listStatements()
[3] http://protege.cim3.net/cgi-bin/wiki.pl?SWRLTab



More information about the Pellet-users mailing list