Re: Multiple contexts (ISSUE-32)

Yes, each object can have it's own context. I also suggested using an array notation to allow a give object to have multiple contexts, which could allow a remote context and an in-line. For example, the in-line could be used to specify @language.

Gregg Kellogg

Sent from my iPad

On Sep 28, 2011, at 5:40 AM, "Markus Lanthaler" <markus.lanthaler@gmx.net> wrote:

> Is it possible to have multiple contexts in a JSON-LD document? I think we
> discussed this already but we haven't come to a conclusion yet.
> 
> So, what I mean is something like
> 
> {
>  "@context": { ... },
>  "name": "Markus",
>  ... some more data ...
>  "details": {
>    "@context": { ... },
>    "name": "My Company"
>  }
> }
> 
> where the second context overwrites the first one. From reading the spec
> (active context) I would conclude that it is possible but I'm not sure. We
> should be a bit clearer in this regard.
> 
> 
> --
> Markus Lanthaler
> @markuslanthaler
> 
> 
> 
> 
> 

Received on Wednesday, 28 September 2011 15:23:13 UTC