Re: json-ld.org playground updated

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.
cheers,
-- 
@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