owlcs / jfact

JFact repository
13 stars 8 forks source link

Get Datatype Range of Data Property #15

Open paulrinckens opened 7 years ago

paulrinckens commented 7 years ago

Hi all,

I hope this is the right place for my question. I couldn't find any other support/help forum.

Using a JFactReasoner, I want to access the structure of an ontology. How can I retrieve the range of a OWLDataProperty using the reasoner?

In my ontology file I have something like this:

<#date_day> rdf:type owl:DatatypeProperty ; rdfs:domain <#date> ; rdfs:range xsd:double .

I want to get to the datatype 'double' but find no way to access this range via the reasoner.

I would be really happy about some feedback.

Thanks in advance, Paul