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?

Thank you in advance for any advise.

cheers,

Dhomas Hatta Fudholi
Student, Department of Computer Science and Computer Engineering
La Trobe University, Victoria 3086, Australia

Reply via email to