[Pellet-users] How to change aterm.ATermAppl to com.hp.hpl.jena.rdf.model.Statement?
Evren Sirin
evren at clarkparsia.com
Wed Oct 24 13:01:59 UTC 2007
On 10/24/07 7:44 AM, Jun Fang wrote:
> Hi,
> dear colleagues,
>
> I need to change the aterm.ATermAppl type to
> com.hpl.jena.rdf.model.Statement type,
> when using owlapi, i can simply using
> org.mindswap.pellet.owlapi.AxiomConverter.AxiomConverter,
> In jena, i can not found a similar class.
There is no such converter and in general it is not possible to
represent an arbitrary OWL axiom as a statement. Things like
restrictions, intersections, unions, etc. are represented with multiple
triples (i.e. multiple Statement objects are needed). All I can suggest
to you at this point is to use the OWLAPI axiom converter as your
starting point and writing your ATerm to Jena translator. The class
JenaUtils already lets you translate ATerm entities (individuals,
literals, etc.) into Jena Resource objects.
Regards,
Evren
> Can someone can tell me about this, Thank you very much!
>
> --
> Best Regards!
>
> Jun Fang - PhD candidate,
> Control & Networks Institute,
> College of Automation,
> Northwestern Polytechnical University,
> Xi'an, Shaanxi Province, China
> E-mail:leon.essence at gmail.com <mailto:leon.essence at gmail.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
More information about the Pellet-users
mailing list