Re: Compact forms of language literals

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