Re: JSON-LD Java Implementation feedback.

Hi,

I'm working on the JSON-LD serialization component in the Apache
Stanbol [1] incubating project and therefore I'm following this list.

In my implementation I'm trying to automatically guess short names for
properties. In cases where I get name clashes I have a fallback
mechanism to use the prefix variant.

Now, as I saw this, I thought yes, that would be nice to express in JSON-LD:

2011/10/20 Stephane Fellah <fellahst@gmail.com>:
>> 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.

[1] http://incubator.apache.org/stanbol/

Best
-- 
Fabian
http://twitter.com/fctwitt

Received on Friday, 21 October 2011 14:13:23 UTC