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

Re: Compact forms of language literals

From: Ivan Herman <ivan@w3.org>
Date: Mon, 12 Sep 2011 10:11:39 +0200
Cc: <public-linked-json@w3.org>
Message-Id: <D9B3C7EA-32D9-4B38-BE29-2F07FAA98820@w3.org>
To: Markus Lanthaler <markus.lanthaler@gmx.net>

On Sep 11, 2011, at 23:27 , Markus Lanthaler wrote:

>> 1. Add JSON-LD support for declaring a document-wide language
>> directive (within the context or at the top level, i.e. where
>> "@context" and the optional "@base" appear). This is for scenarios
>> where there is one dominant language for a given resource.
>> 
>> This would enable us to use @language like this:
>> 
>>  {
>>    "@context": ...,
>>    "@language": "en",
>>    "@subject": "http://example.org/",
>>    "title": "The Example"
>>  }
> 
> +1 but perhaps we should move @language into the context description. The
> "meaning" of the document is described in the context so I think that's the
> place to be for the @language tag as well.

I would also feel it more natural if this was part of the @context. It would also make it clear/clean that children of a node would inherit the language setting, just like any other contextual settings.

Ivan


> 
> 
> 
> --
> Markus Lanthaler
> @markuslanthaler
> 
> 
> 
> 


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Monday, 12 September 2011 08:11:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:32 UTC