Ruben Verborgh
Ruben Verborgh
This would be possible indeed, if the parser emits the context from the tokenizer in the quads. We have no plans to take this up, but a pull request that...
N3.js does not strive for the shortest form; it adds some prefixes but not exhaustively, and this for performance reasons. That said, in this case, the regex can easily be...
@Dexagod Are empty graphs supported by both N3 (seems yes) and RDF-star (citation needed)? If not, we will need a check on content type.
(I might be overcautious here, and maybe this code doesn't hit with RDF-star; just want to be sure.)
Ack about it being for N3; just want to make sure it doesn't fire at the wrong time. But perhaps `_readFormulaTail` is only accessed in N3 mode in any case.
Given #330, maybe this could become: ```js const writer3 = new N3.Writer({ syntax: 'flexible' }); // Also output quads that cannot be expressed in the chosen syntax (default) const writer4...
Yes, that's the direction. But we don't _need_ to have that right now; i.e., this can be the meaning of the `strict` option, and not validating everything can be a...
> invalid turtle will be generated if quads get added to the writer that can not be represented in turtle I wonder if this has repercussions for #339; should we...
Thanks, @LaurensRietveld. I think you must be the most prolific N3.js bug finder by now.
I worry that the performance cut of wrapping error handling around factories is too much. I think we should be able to trust factories, especially given that N3.js will have...