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
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?
and How can I access to datatypes like long, decimal, double, byte and base64Binary? Or maybe these types of data are not contemplated? in my case it is necessary that they are these. I have seen that inside I have other types such as normstr, locstr, time and timedelta.