Hello, can you please help me with the following situation:
I create an object property A (domainA, rangeA) and an inverse property B in Protege. Run a reasoner and get the domain and range of property B to be (rangeA, domainA).
Then I would like to access the domain and range of property B in owlready2. But propertyB.domain returns an empty list.
Running a reasoner in owlready2 using
with onto:
sync_reasoner(infer_property_values = True)
does not help neither :(
Is it possible at all to infer domain and range of an inverse property in owlready2?
Thanks a lot for your answer!
Hello, can you please help me with the following situation: I create an object property A (domainA, rangeA) and an inverse property B in Protege. Run a reasoner and get the domain and range of property B to be (rangeA, domainA). Then I would like to access the domain and range of property B in owlready2. But propertyB.domain returns an empty list. Running a reasoner in owlready2 using with onto: sync_reasoner(infer_property_values = True) does not help neither :( Is it possible at all to infer domain and range of an inverse property in owlready2? Thanks a lot for your answer!