RE: Wikidata

> > What about having different property names as follows?
> >
> > {
> >  "@id" : "q7",
> >  "title_en": "Georgia_(country)",
> >  "title_de": "Georgien"
> > }
> >
> > The selector path can be easily generated by a string concatenation
> and the
> > result would be much compacter.
> >
> 
> We have been avoiding microsyntaxes.

That's not a microsyntax.  You would have the following in the context:

{
  "title_en": { "@id": ".../title", "@language": "en",
  "title_de": { "@id": ".../title", "@language": de"
}



--
Markus Lanthaler
@markuslanthaler

Received on Friday, 6 April 2012 03:23:25 UTC