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.
Inferencing does not work on
rdflib.Dataset
, yetrdflib.ConjunctiveGraph
works just fine.The exception is caused by the attempt to unpack with too many values in
owlrl.OWLRL.py
line 446.Apparently this is due to how
rdflib.Dataset
andrdflib.ConjunctiveGraph
handle triples/quads internally.