Re: RDF 1.1 Primer

On Wed, 2013-12-04 at 18:47 +0100, Pierre-Antoine Champin wrote:
> 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.


Ok, that's fine :)

Best,
Yves
>
>
>   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.
>         -----------------------------
>
>



-----------------------------
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 Thursday, 5 December 2013 16:05:17 UTC