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

Turtle serializer : no whitespace between colon and dot when a prefixed symbol has no local name #542

Closed
pduchesne opened this issue Jan 13, 2022 · 0 comments · Fixed by #543
Assignees
Labels

Comments

@pduchesne
Copy link
Contributor

If a prefixed symbol is a statement's object and has no local name, it results in a colon immediately followed by a dot, e.g. example:subject example:pred example:.
In particular, the automatic prefix production of the turtle serializer produces such outputs if a symbol has a trailing slash.

While this is syntactically valid as per the turtle grammar, some other tools do not handle this well (e.g. RDFLib/rdflib , cf RDFLib/rdflib#1664) and require a whitespace between the colon and the dot.
In the sake of cross-ecosystems interoperability, fixing this would be an easy win.

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

Successfully merging a pull request may close this issue.

2 participants