owlcs / owlapi

OWL API main repository
821 stars 315 forks source link

Fetch the SWRLRule used in reasoning process #1076

Closed zeeceye closed 1 year ago

zeeceye commented 1 year ago

How to Fetch the SWRLRule used in reasoning process?

ignazio1977 commented 1 year ago

SWRL rules declared in an ontology can be retrieved with:

ontology.axioms(AxiomType.SWRL_RULE);

But this says nothing about whether they are used by the reasoner during reasoning - OWLAPI offers access to them regardless of a presence of a reasoner that supports SWRL rules.

zeeceye commented 1 year ago

I was sad to kown it, but thank you all the same.