Re: Access to the iri range
Posted by
Jiba on
URL: http://owlready.306.s1.nabble.com/Access-to-the-iri-range-tp3268p3292.html
Hello,
You can also use the Property.range_iri attribute, that returns the range IRI, for instance ['
http://www.w3.org/2001/XMLSchema#integer'] or ['
http://www.w3.org/2001/XMLSchema#long'].
Note that it returns a list (because OWL allows a property to have several ranges, although it is rarely the case).
Jiba