W3C home > Mailing lists > Public > public-linked-json@w3.org > October 2011

RE: JSON-LD Java Implementation feedback.

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Sat, 22 Oct 2011 22:41:46 +0800
To: "'Linked JSON'" <public-linked-json@w3.org>
Message-ID: <010601cc90c8$bcb550c0$361ff240$@lanthaler@gmx.net>
> >> PrefixMapping
> > "@context": {
> >     "@prefix" : {    // property namespace prefix mapping
> >                          "foaf": "http://xmlns.com/foaf/0.1/"
> >                      }
> >     "@token" : {    // token is a property uri
> >                          "name": "http://xmlns.com/foaf/0.1/name",
> // can
> > fully specified as iri
> >                          "age"   : "foaf:age",    // or can leverage
> prefix
> > mapping
> >                          "homepage": "foaf:homepage"
> >                      }
> >     "@coerce": {
> >                          "@iri": "homepage"
> >                         "age" : "xsd:integer",
> >                         "birthday" : "xsd:date"
> >                      }
> >   }
> > }
> 
> I would be +1 for this.


I can't see what can be achieved with it that can't be done with the current spec!? Is it just about using prefixes in other prefix definitions or do I miss something?



--
Markus Lanthaler
@markuslanthaler
Received on Saturday, 22 October 2011 14:42:26 GMT

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