On 11/01/13 16:25, reda chbihi wrote:
Hi all,

I wanna create some object properties that are reflexive, with JENA,
I don't found any method that can perform that !!

how can I do that with JENA ?

Reflexive is an OWL 2 feature and Jena's built-in helper methods only support OWL 1. However it is easy to create the requisite RDF syntax for this:

    Property myprop = model.createResource(mypropURI)
                        .addProperty(RDF.type, OWL2.ReflexiveProperty);

Dave

Reply via email to