|
Hello,
I am trying to create a function to normalize ontologies so only certain constructions of General Class Axioms are accepted (e.g. A1 & A2 is_a B1, where A1, A2 and B1 are simple classes is a GCA in normal form). In order to do this, I want to iterate over the left and right sides of a GCA, but 'GeneralClassAxiom' objects are not iterable in Owlready. Is there anyway to circumvent this that doesn't involve changing the type of the object (to a string, for example, and doing some regex magic to achieve what I want)? Thank you!
|