W3C home > Mailing lists > Public > public-rdf-comments@w3.org > June 2013

RE: Understanding of JSON-LD values

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Thu, 13 Jun 2013 19:15:24 +0200
To: "'public-rdf-comments'" <public-rdf-comments@w3.org>
Message-ID: <011501ce6859$98e3b140$caab13c0$@lanthaler@gmx.net>
Dave already replied to most of the points in your mail. I'll thus focus on the central one that hasn't been answered yet


On Thursday, June 13, 2013 5:05 PM, Sven R. Kunze wrote:
> My problem is: do they match at all? Is this actually the same graph?
> 
> <<<
> {
>    "@context":
>    {
>      "x":
>      {
>        "@id": "b",
>        "@type": "http://www.w3.org/2001/XMLSchema#integer"
>      }
>    },
>    "@id": "a",
>    "x": "4"
> }
> >>>
> 
> <<<
> {
>      "@id": "a",
>      "b": 4
> }
> >>>
> 
> Or aren't they as the two 4s are considered to be different concepts?
> (Let's assume that a and b are URIs)

As currently specified they would yield the same RDF graphs (modified a and b to url:a and url:b), i.e.

   <url:a> <url:b> "4"^^<http://www.w3.org/2001/XMLSchema#integer> .

Here are the results of Dave's implementation

 http://bit.ly/13HJ55o and  http://bit.ly/11c7hhZ

and here are mine

 http://bit.ly/1414bfe and http://bit.ly/14z6bh5


Hope this helps


--
Markus Lanthaler
@markuslanthaler
Received on Thursday, 13 June 2013 17:15:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:57 UTC