- From: Gregg Kellogg <gregg@kellogg-assoc.com>
- Date: Wed, 28 Sep 2011 11:23:14 -0400
- To: Markus Lanthaler <markus.lanthaler@gmx.net>
- CC: "public-linked-json@w3.org" <public-linked-json@w3.org>
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