Error in RDF/JSON example 7

Example 7 [1] isn't valid JSON:

[[[
{
  "http://example.org/about" : {
      "http://purl.org/dc/terms/creator" : [ { "value" : "_:anna", 
                                               "type" : "bnode" } ] ,
  "_:anna" : {
      "http://xmlns.com/foaf/0.1/name" : [ { "value" : "Anna", 
                                             "type" : "literal" } ] 
  }
} 
]]]

I think it should be the following:

[[[
{
  "http://example.org/about" : {
      "http://purl.org/dc/terms/creator" : [ { "value" : "_:anna",   "type" : "bnode" } ]
  },
  "_:anna" : {
      "http://xmlns.com/foaf/0.1/name" : [ { "value" : "Anna",  "type" : "literal" } ] 
  }
}]
]]

Gregg Kellogg
gregg@greggkellogg.net

[1] http://www.w3.org/TR/2013/NOTE-rdf-json-20131107/#sec-examples

Received on Thursday, 14 November 2013 01:45:04 UTC