Dear Jena community,

I hope your day is going great.
I have a question about the ontology: we want to request an ontoogy data A that also import another ontology OWL-B.

e.g.

A includes:
        John is Male.
        John has a daughter called Monica.

OWL-B includes:
        Daughter is subclass of Children. (rdfs:subClassOf)
        If X is Male and has Children Y, X is father of Y. (owl:inverseOf)

What I want to query:
        Who is Monica's father?

Expected response:
        John


To get expected response, Jena needs to include OWL-B then manage implicit statement. However, I got results by explicit querying only: Who is John's daughter? -> Monica

I'm sure there is a solution since I see "The OWL reasoner" in <https://jena.apache.org/documentation/inference/index.html#owl>

Are there additional steps to include Ontology structure? (We are using Fuseki's API REST) Is it better to import OWL-B as a default graph or a named graph? and what if we have several OWL files to import?

P.S. here is an example of our OWL file, BIolink Model, downloadable via <https://github.com/biolink/biolink-model/blob/master/biolink-model.ttl>

Thank you for your time.

Reply via email to