Is <> a legal way to self-reference a named graph in a dataset in TriG?

Dear list,

another question, and the last one for today, promise!


I’m under the impression that in N3-ish RDF serializations the pair of pointy brackets <> refers to the current document, i.e. [0]

   <> :type :eMail

But what about named graphs in RDF 1.1? In a named graph, contained in a dataset, does '<>' refer to the named graph itself, or to the enclosing dataset?

And is this all just convention (and up for debate) or is it defined somewhere? The syntax doesn’t seem to be part of SPARQL, Turtle or TriG. And what about TriX, RDF/XML even, JSON-LD? Do they provide a means to self-reference the current graph itself?


Best,
Thomas



[0] The example glosses over the fact that the rest of this document is not valid RDF. A similar example can be found in the heading of <http://infomesh.net/2002/notation3/>

Received on Saturday, 17 September 2022 14:00:13 UTC