Re: @default in JSON-LD API

In [1], @default is merely an implementation detail, it is not a 
keyword. Its purpose is defined in [1] under 9.2: "The default graph is 
stored under the @default member". IIRC, you can replace it with 
whatever you'd like in those algorithms and the output would remain the 
same. Since @default is not an actual JSON-LD keyword, it is not 
mentioned in [2].

[3] is an unfinished spec that uses the string "@default" in an entirely 
different way, as a JSON-LD framing flag. There is no actual 
relationship between the use of "@default" in any of these specs -- 
which is why you don't find any references.

On 08/25/2014 03:45 PM, Dominik Tomaszuk wrote:
> In [1] there are a lot of @default mentions (subsections: 9.1, 9.2, 
> 10.1, 10.4). @default is not defined in [2]. It is only defined in [3] 
> but in [1] there is no reference to [3]. I think adding reference is a 
> minimum plan.
>
> It is pretty annoying that in algorithms there is @default keyword 
> which is not a part of recommendations. And there is no information 
> what it is.
>
> [1] http://www.w3.org/TR/json-ld-api/
> [2] http://www.w3.org/TR/json-ld/
> [3] http://json-ld.org/spec/latest/json-ld-framing/
>
> Best,
> Dominik Tomaszuk
>


-- 
Dave Longley
CTO
Digital Bazaar, Inc.
http://digitalbazaar.com

Received on Monday, 25 August 2014 20:02:45 UTC