RDFLib / OWL-RL

A simple implementation of the OWL2 RL Profile on top of RDFLib: it expands the graph with all possible triples that OWL RL defines. It can be used together with RDFLib to expand an RDFLib Graph object, or as a stand alone service with its own serialization.
http://www.ivan-herman.net/Misc/2008/owlrl/
Other
139 stars 30 forks source link

use shacl rules for entailment #58

Open majidaldo opened 1 year ago

majidaldo commented 1 year ago

https://github.com/RDFLib/OWL-RL/blob/a77e1791b88b54aace609bc6000aac14c7add4ff/owlrl/RDFSClosure.py#L134

is it possible to just use the shacl rules machinery to implement this? (am i missing some owa vs cwa subtleties here?)

ref owlrl issue #35 and pyshacl issue https://github.com/RDFLib/pySHACL/issues/60