Re: is_a returns incomplete list for Individuals

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/is-a-returns-incomplete-list-for-Individuals-tp1453p1467.html

Hi,

I added an OWL header to your file, and loaded it, but I got the 13 parents classes (including 3 restrictions).

Here is the OWL file I used: t.owl

And the code:

from owlready2 import *

onto_path.append("/tmp")
onto = get_ontology("/tmp/t.owl").load()

i = IRIS["http://webprotege.stanford.edu/RBKnTkMtqBcr22gT0lXARws"]

print(i.is_a)
print(len(i.is_a))


If the problem persists, could you send me an entire example for reproducing the problem? Including code and ontology?

Jiba