RE: JSON-LD Java Implementation feedback.

> >> 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 UTC