Such triples are illegal due to RDF standard, and they break at least some of the storage engines: see RDFLib/rdflib-sqlalchemy#85
The full working example is here: https://gist.github.com/anatoly-scherbakov/ebde3d6b70ddde7f7b3baadb65d8464b
I am not entirely clear why these are created. I am willing to help by writing a PR if you could please explain the reason of those triples to be asserted.
Such triples are illegal due to RDF standard, and they break at least some of the storage engines: see RDFLib/rdflib-sqlalchemy#85
The full working example is here: https://gist.github.com/anatoly-scherbakov/ebde3d6b70ddde7f7b3baadb65d8464b
I am not entirely clear why these are created. I am willing to help by writing a PR if you could please explain the reason of those triples to be asserted.