W3C home > Mailing lists > Public > public-linked-json@w3.org > January 2012

Re: json-ld.org playground updated

From: KANZAKI Masahide <mkanzaki@gmail.com>
Date: Sat, 14 Jan 2012 16:53:45 +0900
Message-ID: <CAHQ1n3A3v9X7k+btmKY1Zx5oDxeQnH_2iyJT43YBqH1B1TSy=g@mail.gmail.com>
To: Dave Longley <dlongley@digitalbazaar.com>
Cc: public-linked-json@w3.org
Hello Dave, thanks for the hard works.
The updated playground seems to have a problem with handling "4.5 IRI
Expansion within Context" of the spec. Given the following input
(arranged from the second example in 4.5):
{  "@context":  {    "foaf": "http://xmlns.com/foaf/0.1/",    "xsd":
"http://www.w3.org/2001/XMLSchema#",    "name": "foaf:name",    "age":
{"@id": "foaf:age", "@type": "xsd:integer"},    "homepage": {"@id":
"foaf:homepage", "@type": "@id"}  },  "name": "Manu Sporny",
"homepage": "http://manu.sporny.org/"}
the playground generates the following Turtle:
_:c14n0   <foaf:homepage> <http://manu.sporny.org/>;   <foaf:name>
"Manu Sporny".
Notice the "foaf:" prefix is not expanded to the namespace URI.
I'm not sure if this is a known bug, but hope this feedback will help.
@prefix : <http://www.kanzaki.com/ns/sig#> . <> :from [:name
"KANZAKI Masahide"; :nick "masaka"; :email "mkanzaki@gmail.com"].
Received on Saturday, 14 January 2012 07:54:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:33 UTC