Can the `id` be anthing other than an IRI
jeswr opened this issue · comments
For instance can I write [ id "abc" :p :o ]
.
Either way it would be good to have some positive or negative syntax tests for this.
See the grammar:
https://w3c.github.io/N3/spec/#grammar-production-iriPropertyList
You can always try out the latest grammar here:
https://n3-editor.herokuapp.com/n3/editor/s/XQpxtP1C
You can always try out the latest grammar here:
https://n3-editor.herokuapp.com/n3/editor/s/XQpxtP1C
What parser are you using internally for this?
A JavaScript ANTLR parser generated from n3.g4 (which is itself based on the EBNF grammar). See here for more.