Closed
Description
We need to determine what the JSON-LD 1.0 @graph syntax supports. At the moment, I think the current direction is to support the following:
- Support named graphs by having @id and @graph at the same level, where @id expresses the name of the graph.
- Both IRIs and BNode-like labels (starting with '_:') can be used in @id to name a graph.
- The @graph keyword is alias-able.
- The @graph keyword is always associated with an IRI - in JSON, represented by a string, an object with an @id, or an array of objects with @ids.
- A JSON-LD property MAY be associated with a {"@graph": ...} object.
- The JSON-LD keywords MUST NOT be associated with a {"@graph": ...} object - especially @id and @value.
We also need to figure out how @graph is treated when compacting, expanding and framing - but I believe those decisions probably will not affect the syntax. Anything else that should be considered regarding @graph syntax?