-
Notifications
You must be signed in to change notification settings - Fork 6
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
prefixes with '.' break loading triples #173
Comments
I think it is n3, the spec is pretty permissive. There's a few open parse issues: https://github.com/rdfjs/N3.js/issues?q=is%3Aissue+is%3Aopen+parse+ Perhaps we're better to send ntriples from the API or attempt to generate nicer prefixes - I suspect the problematic ones are mostly auto generated. Thoughts? |
Whatever is easier. However, would we be concerned about the extra package size from ntriples? Assuming that it would be larger as the syntax is more verbose. |
I think it's automatically compressed/decompressed and the payload sizes are pretty trivial |
I've added code to prevent inclusion of "special" characters in generated curies in Prez, it may prevent the issue. Would still recommend specifying nice prefixes. |
Please send Turtle, not n-triples, from the API. It is nice to be able, very occasionally, to look at the data as a human and n-triples basically makes this impossible |
no worries - I'm making changes to "clean up" i.e. valid not not nice, and also ensure the auto generated prefixes are valid (Lawson pointed out they shouldn't start with [0-9]). Normal disclaimers:
|
validation implemented in RDFLib/prez#284. Tested locally and it fixes this issue. closing as resolved. |
If Prez returns turtle with any Prefix declarations like
Then an error is shown
likely this is an n3 issue?
The text was updated successfully, but these errors were encountered: