We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An empty graph term results in an illegal n3 output.
in:
@prefix : <urn:example:> . @prefix log: <http://www.w3.org/2000/10/swap/log#> . () log:onNegativeSurface { } .
and const str = await write(quads, { format: 'text/n3', prefixes: {} });
const str = await write(quads, { format: 'text/n3', prefixes: {} });
gives
() <http://www.w3.org/2000/10/swap/log#onNegativeSurface> { () . } .
The text was updated successfully, but these errors were encountered:
There are a couple of things going on here:
[ Quad { id: '', _subject: NamedNode { id: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#nil' }, _predicate: null, _object: null, _graph: BlankNode { id: '_:n3-72' } }, Quad { id: '', _subject: NamedNode { id: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#nil' }, _predicate: NamedNode { id: 'http://www.w3.org/2000/10/swap/log#onNegativeSurface' }, _object: BlankNode { id: '_:n3-72' }, _graph: DefaultGraph { id: '' } } ]
Sorry, something went wrong.
Yeah I saw it. Tried to fix it myself on the airplane and noticed it needs more special treatment.
No branches or pull requests
An empty graph term results in an illegal n3 output.
in:
and
const str = await write(quads, { format: 'text/n3', prefixes: {} });
gives
The text was updated successfully, but these errors were encountered: