Open
Description
When creating a triple with Variable
s in it, and then writing it as text/turtle
, the outcome is invalid turtle.
const writer = new Writer({ format: 'text/turtle' })
writer.addQuad(new Quad(new Variable('a'), new NamedNode(foaf.knows), new Variable('c')))
writer.end((err, result) => {
console.log(result)
})
This yields
?a <http://xmlns.com/foaf/0.1/knows> ?c.
which is invalid turtle.
Along the argumentation in #165, this could rather throw error or gracefully drop the triples containing Variable
.
Metadata
Metadata
Assignees
Labels
No labels