Re: Multilingualism (was Re: Metadata vocabulary in JSON-lD and Turtle)

On Dec 11, 2014, at 1:37 AM, Phil Archer <phila@w3.org> wrote:
> 
> Hi Gregg,
> 
> You'll be unsurprised to see that I'm particularly interested in how the context file ends up - from my POV what you're doing here has wider applicability than the CSVW case as I expect I won't be the only person to point to this as an example of how to do it.
> 
> One thing that bothers me a little is that the context file assumes monolingualism. You never know, Ivan might feel motivated to chuck in French and Hungarian labels in his copious spare time (more seriously I think it pretty likely that we'll have translations of the context file before long).

I'm not sure that the context should default language to English, but the language of comments and labels in the body should be set to English. We could set the container mapping for rdfs:label and rdfs:comment to @language, which would allow the language map mechanism for use within the vocabulary definition itself. Also, all "natural language" terms should use @container: @language.

> Which is a long-winded way of asking you kindly to consider adding in language tags for the English labels and comments - or will that throw too big a spanner in the works?

I should be be able to do that easily enough.

Gregg

> Phil.
> 
>> On 04/12/2014 02:01, Gregg Kellogg wrote:
>> I created a script to turn a XLS (CSV) version of the Metadata vocabulary into both JSON-LD and Turtle [1]. The JSON-LD version also acts as the CSVM context. (Statement counts aren't equal, so there is a bit of debugging to do still).
>> 
>> As an exercise for the reader, create a _vocab-metadata.json to turn _vocab.csv into RDF. (Actually, the owl:unionOf bit would be difficult).
>> 
>> Next step is to create HTML using the JSON-LD.
>> 
>> Gregg Kellogg
>> gregg@greggkellogg.net
>> 
>> [1] https://github.com/w3c/csvw/tree/gh-pages/ns
>> 
> 
> -- 
> 
> 
> Phil Archer
> W3C Data Activity Lead
> http://www.w3.org/2013/data/
> 
> http://philarcher.org
> +44 (0)7887 767755
> @philarcher1

Received on Thursday, 11 December 2014 16:32:27 UTC