Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal representation does not distinguish between literal with and without datatype #89

Open
satra opened this issue Oct 12, 2016 · 2 comments

Comments

@satra
Copy link
Contributor

satra commented Oct 12, 2016

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" .

@stain
Copy link

stain commented Aug 16, 2018

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

@satra
Copy link
Contributor Author

satra commented Aug 16, 2018

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants