Dear forum,
I am making a parser whose goal is to convert OWL text format to another format. I am making the script in Python with the owlready2 library.My problem arises when I try to access the data type inside the range IRI.
How can I access this object? I can't find a way to access the IRI
Example: <rdfs:range rdf:resource="
http://www.w3.org/2001/XMLSchema#integer"/>
in reference to "integer". I need to be able to access the IRI to be able to receive the integer string so I can convert it, the other option is to transform the IRI into a string and be able to access the #integer by hand but I can't.
Can anyone think of a solution and if not, how to do what I need to do?