Open mvanassche opened 2 years ago
This test sets the produceGeneralizedRdf
flag to true, it is supposed to produce Generalized RDF.
Granted, the output file is therefore not valid N-Quads, and there is no specification for "generalized N-Quads". From that perspective, this test-case is a bit dodgy. But it can easily be spotted as such (as it sets produceGeneralizedRdf
to true) so it can (and should) be skipped by strict implementations (i.e. those not supporting generalized RDF).
The tests README could, perhaps, informally define the syntax for generalized N-Quads.
in https://w3c.github.io/json-ld-api/tests/toRdf/0118-out.nq
_:b0
is used as a predicate in a triple.According to https://www.w3.org/TR/n-quads/: