apache / jena

Apache Jena
https://jena.apache.org/
Apache License 2.0
1.08k stars 643 forks source link

Using a reasoner to retrieve individuals beloning to a Class #2523

Open Demirrr opened 1 month ago

Demirrr commented 1 month ago

Version

5.0.0

Question

Is it possible to use a reasoner to infer individuals beloning to an OWL Class Expression on a given RDF knowledge graph ?

afs commented 1 month ago

Hi @Demirrr --

Jena doesn't provide all of OWL reasoning. It has some ruleset for a subset. To go further, a complete OWL reasoner can be wired into Jena.

Demirrr commented 1 month ago

Dear @afs,

Thank you for your answer.

Would it possible to infer such individuals by using the existing ruleset from the command line ?

afs commented 4 weeks ago

Hi - I don't use OWL or the inference and rule system (which by the way is datalog expressivity) to give an answer. Users of Jena inference can help, including how to configure an external OWL reasoner if that's necessary for the expressivity of the OWL Class Expression you want.

Good places to ask questions are the Jena users mailinglist (users@jena.apache.org - you need to subscribe first or ask on StackOverflow, with tags "jena", "jena-rules", "reasoner".