Dataset adds graph labels where there were none #2375
Labels
bug
Something isn't working
concept: RDF dataset
Relates to the RDF datasets concept.
core
Relates to core functionality of RDFLib, i.e. `rdflib.{graph,store,term}`
critical
If you run the following code
you will get something like
<http://s> <http://v> <http://o> _:Nf7773353eb67460ab92041894df76998 .
I believe that is wrong, since there was no graph label in the input data, and RDF standard clearly distinguishes between the default graph and named graphs.
Is this a bug, or is there a way to make it not do that? If it is necessary to have some graph in there internally, I think I saw some tools use specific IRIs like
http://www.w3.org/1999/02/22-rdf-syntax-ns#defaultGraph
, but in that case there wouldn't be a reason not to leave those out when serializing.The text was updated successfully, but these errors were encountered: