You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above code to have the following between line 41 and 42 otherwise results are never serialized with prefixes when the pipe method is available on the quadStream.
The 'prefix' event is not part of the RDF/JS streams spec, it's a N3-specific thing.
I'm definitely ok with adding the line you suggest, but we can not rely on it as a standard, since other parsers and serializers might not handle it, or use a different approach.
For example, the JSON-LD parser does not emit a prefix event, but a context event.
Issue type:
Description:
comunica/packages/actor-rdf-serialize-n3/lib/ActorRdfSerializeN3.ts
Lines 40 to 42 in e5a1f63
The above code to have the following between line 41 and 42 otherwise results are never serialized with prefixes when the
pipe
method is available on thequadStream
.Not opening a PR immediately as tests should be added at the same time.
A similar addition is probably also required for the jsonld serializer.
Environment:
Crash log:
The text was updated successfully, but these errors were encountered: