A datatype for identifying RDF graphs as literals

This document specify a datatype in which the values are RDF graphs. The lexical space contain a subset of legal Turtle documents, the value space is the set of RDF graphs, and the lexical to value mapping follows the Turtle parsing rules, with an additional constraint: blank node identifiers must be mapped to the same blank node whereever the same identifier is used, even across files and databases. This ensure that the same literal in this datatype is always interpreted as the same RDF graph even if it contains blank nodes.

This is an early editor draft.

The graph literal datatype

This section formally defines the datatype that we call graph literal.

Datatype IRI

The IRI is cdt:graph.

Lexical space

When called, {{Foo/doTheFoo()}} MUST behave as follows:

  1. If thing....
  2. Let someProp... of the [[DOM]] spec.