RDFJS defines in its specification that:
value blank node name as a string, without any serialization specific prefixes, e.g. when parsing, if the data was sourced from Turtle, remove "_:", if it was sourced from RDF/XML, do not change the blank node name (example: "blank3")
However, jsonld.js does not remove _: when executing the toRDF code. This can be found in multiple places. One example:
|
termType: id.startsWith('_:') ? 'BlankNode' : 'NamedNode', |