Re: RDF 1.1 Primer

Hi Yves,

On Wed, Dec 4, 2013 at 6:21 PM, Yves Raimond <yves.raimond@bbc.co.uk> wrote:

> [snip]

One quick question - any
> reason for mapping uri to @id instead of just reusing @id?
>

JSON attributes like @id and @type are quite unusual, as they are not as
easy as others to handle in Javascript (and other languages) : you cannot
acces them as obj.@id (syntactially incorrect), only as obj["@id"].

So idiomatic JSON will typically not have this kind of attribute natively.

  pa


> Best,
> Yves
> >
> >
> >  best
> >
> >   pa
> >
> >
>
>
>
> -----------------------------
> http://www.bbc.co.uk
> This e-mail (and any attachments) is confidential and
> may contain personal views which are not the views of the BBC unless
> specifically stated.
> If you have received it in
> error, please delete it from your system.
> Do not use, copy or disclose the
> information in any way nor act in reliance on it and notify the sender
> immediately.
> Please note that the BBC monitors e-mails
> sent or received.
> Further communication will signify your consent to
> this.
> -----------------------------
>

Received on Wednesday, 4 December 2013 17:47:45 UTC