prov icon indicating copy to clipboard operation
prov copied to clipboard

internal representation does not distinguish between literal with and without datatype

Open satra opened this issue 7 years ago • 2 comments

the following are stored internally simply as str, so on re-serialization there is no way to know which to output with or without datatype.

ex:a9 ex:tag1 "hello"^^xsd:string .

and ex:a9 ex:tag1 "hello" .

satra avatar Oct 12 '16 19:10 satra

In RDF 1.1 they are equivalent. In fact I think strings should be serialized without explicit ^^xsd:string.

stain avatar Aug 16 '18 12:08 stain

@stain - i think part of this is going to be how we check for round trip equivalence. we may have to update both rdflib and prov w.r.t rdf 1.1 equivalence.

satra avatar Aug 16 '18 14:08 satra