rdfjs / N3.js

Lightning fast, spec-compatible, streaming RDF for JavaScript
http://rdf.js.org/N3.js/
Other
676 stars 127 forks source link

CURIE like s:a/b/c not supported #384

Closed sahuguet closed 2 months ago

sahuguet commented 2 months ago

The N3.js lexer does not recognize CURIEs containing a slash /, e.g. s:a/1.

The CURIE spec does not prohibit this kind of syntax, as far as I can tell.

Am I missing something?

RubenVerborgh commented 2 months ago

Hi @sahuguet, Turtle parsers aren't governed by the CURIE spec but the Turtle spec, which doesn't allow them.