Gregg Kellogg: As per the existing processor rules, they are ignored.
Manu Sporny: They are removed when compacting and normalizing but remain intact when extending
PROPOSAL: For non-JSON-LD values in @context, in general, they are ignored by JSON-LD processors. When compacting, the non-JSON-LD values can be removed. When expanding, the entire @context is removed and thus the non-JSON-LD values are removed.
Manu Sporny: Clarification: ... where non-JSON-LD is anything not recognized by a JSON-LD processor)
Gregg Kellogg: +1
Manu Sporny: +1
Niklas Lindström: +1
Markus Lanthaler: +1
David I. Lehn: +1
RESOLUTION: For non-JSON-LD values in @context, in general, they are ignored by JSON-LD processors. When compacting, the non-JSON-LD values can be removed. When expanding, the entire @context is removed and thus the non-JSON-LD values are removed.
Markus Lanthaler: Well actually they are also removed in expansion as the whole context is removed.
Gregg Kellogg: I don't think we need normalization for compaction or framing.
Manu Sporny: I agree in the case of compaction, I don't think that is possible for framing... we'll have to chat with Dave Longley to figure out why he required normalization for both compaction and framing.
. . . discussion about whether compaction should depend on normalization or not . . .
PROPOSAL: Override part of the decision made in ISSUE-56 - When performing expansion, non-JSON-LD values are not dropped from the document, but are ignored.
Manu Sporny: +1
Gregg Kellogg: +1
Markus Lanthaler: +1
Niklas Lindström: +1
David I. Lehn: +1
RESOLUTION: Override part of the decision made in ISSUE-56 - When performing expansion, non-JSON-LD values are not dropped from the document, but are ignored.
Manu Sporny: This is really a discussion about whether we want to have an array-form for @id or if we want to be more specific about how we express graphs that are not fully connected.
Gregg Kellogg: Are we talking about named graphs or bushes?
Manu Sporny: Bushs, but this solution should also work for named graphs... what we're really talking about are hedges... :P
Manu Sporny: If we have a graph that is a bush - we do this: "@graph": [{},{},{}] instead of this: "@id": [{},{},{}]
Manu Sporny: If we want to make that graph a named graph, we do this: { "@id": "_:graph_name", "@graph": [{},{},{}] } ... you can also assign properties to that named graph and support graph literals with that construct.
Manu Sporny: I don't think we should go down the named graphs rathole yet... let's wait for the RDF WG to figure out what they want to do about it.
Markus Lanthaler: If we add an @id to @set, is that a named graph? [scribe assist by Manu Sporny]
Manu Sporny: That's not clear - it's not clear that @id applied to @set is the same as @id applied to @list is the same as @id applied to @graph. [scribe assist by Manu Sporny]
Niklas Lindström: A similar issue arises if we allow e.g. {"@id": …, "@value": ...}
Manu Sporny: Right now container could be one of these - "@container": @set | @list | @graph
Manu Sporny: When and how we use @set is really orthogonal to this issue. I think it's clear that a @set with an @id is not the same thing as a graph with an @id - I don't know what a @set with an @id is... but I am sure that it's not the same thing as a @graph with an @id. There is a separate issue here of whether we should be using @ordered/@unordered vs. @list/@set - but let's discuss that as a separate issue.
PROPOSAL: The @graph keyword is used to express a collection of one or more JSON objects (to express a graph which may or may not be fully connected)
Niklas Lindström: +1
Manu Sporny: +1
Gregg Kellogg: +1
Markus Lanthaler: +1
David I. Lehn: +1
RESOLUTION: The @graph keyword is used to express a collection of one or more JSON objects (to express a graph which may or may not be fully connected)
Manu Sporny: Clarification: This does not mean that we have a named graph solution, but we do believe that it is forward-compatible with such a solution.
Manu Sporny: One could do something like this: {"@id": "_:graph0", "@graph": [{},{},{}] }
Gregg Kellogg: Can we do something like this:
Gregg Kellogg: {"foo": {"@graph": {{}}} - basically, a graph literal?
Manu Sporny: In the future, probably. We've just opened a Pandora's box of discussion about this... it affects normalization in a big way. We should be careful to restrict discussion about this for JSON-LD 1.0. We /may/ have a JSON-LD 1.1, but for 1.0, we may only allow @graph at the top-level.