On 01/08/12 06:03, DHOMAS HATTA FUDHOLI wrote:
Hi All,

I tried to remove cardinality restriction in owl using Jena. I did
that, but the intersection class is still there, in the owl file, but
it becomes empty. The script below shows the empty intersection class
:

<owl:Class> <owl:intersectionOf rdf:parseType="Resource"> <rdf:rest
rdf:parseType="Resource"> <rdf:rest
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
</rdf:rest> </owl:intersectionOf> </owl:Class>

If I open in Protege, there will be a warning "<empty class
edu.stanford.smi.protegex.owl.model.impl.DefaultOWLIntersectionClass>"
in the restriction window.

How can I remove this empty intersection class completely using Jena
API?
What have you tried so far? It's easier to help you debug your code if you actually show us the code!

Ian

Reply via email to