W3C home > Mailing lists > Public > public-linked-json@w3.org > April 2012

RE: Wikidata

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Fri, 6 Apr 2012 11:22:47 +0800
To: "'David I. Lehn'" <dil@lehn.org>
Cc: "'Gregg Kellogg'" <gregg@kellogg-assoc.com>, 'Niklas Lindström' <lindstream@gmail.com>, "'Linked JSON'" <public-linked-json@w3.org>
Message-ID: <008a01cd13a4$8f22a8b0$ad67fa10$@lanthaler@gmx.net>
> > 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 GMT

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