Open anatoly-scherbakov opened 3 years ago
I came up with something: https://github.com/octadocs/octadocs/blob/master/octadocs/octiron/owlrl_named_graph.py
Usage: https://github.com/octadocs/octadocs/blob/master/octadocs/octiron/inference.py#L15
But this won't work with rdflib 6.0.0. I haven't yet ascertained why, but no inferences at all are being drawn. For now, I am sticking to rdflib 5.0.0.
When using an
rdflib.ConjunctiveGraph
, OWL-RL creates its inferred triples in the default, unnamed graph.Is it possible to create them in a specific named graph instead, if so requested by the user?