Closed lalewis1 closed 1 month ago
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 https://github.com/RDFLib/prez/pull/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?