W3C home > Mailing lists > Public > public-rdf-wg@w3.org > June 2012

Re: Review: JSON-LD Syntax

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Mon, 18 Jun 2012 09:22:38 +0100
Message-ID: <4FDEE54E.7060402@epimorphics.com>
To: RDF-WG <public-rdf-wg@w3.org>
Syntax error:

second example of 4.3 has several missing or misplaced commas:

{
   "@context":
   [
     "http://json-ld.org/contexts/person.jsonld",
     {
       "foaf": "http://xmlns.com/foaf/0.1/"
     },
     "http://json-ld.org/contexts/event.jsonld" ,
                                        Remove:^^^
   ] ,
Add^^^
   "name": "Manu Sporny",
   "homepage": "http://manu.sporny.org/",
   "depiction": "http://twitter.com/account/profile_image/manusporny" ,
                                                                  Add^^^
   "celebrates":
   {
     "@type": "Event",
     "description": "International Talk Like a Pirate Day",
     "date": "R/2011-09-19"
   }
}

and it does not use "foaf:" which is a bit confusing.

		Andy
Received on Monday, 18 June 2012 08:23:08 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:49 GMT