AW: Plain string without language tag

Thanks Sarven, setting lang="" and xml:lang=""  on page level works. 

Yet, since I have four different language-specific physical pages, I don't want to drop the language setting for the page as a whole - only for the owl:versionInfo property.

Any ideas?

Cheers, Joachim

-----Ursprüngliche Nachricht-----
Von: Sarven Capadisli [mailto:info@csarven.ca] 
Gesendet: Dienstag, 28. Februar 2017 12:40
An: public-rdfa@w3.org
Betreff: Re: Plain string without language tag

On 2017-02-28 12:34, Neubert, Joachim wrote:
> Is there a technique for publishing plain literals, which don't 
> inherit the language tags of the enclosing content when parsed into 
> another RDF syntax?

> I've experimented with ^^xsd:string and an empty datatype attribute 
> (example 113 of https://www.w3.org/TR/rdfa-syntax/#plain-literals-1),
> but with

<div about="http://zbw.eu/beta/external_identifiers/jel"
> typeof="skos:ConceptScheme">
> 
>   <span property='owl:versionInfo' content="2017-01" 
> datatype=""></span>
> 
> </div>

> on the english/german/french/spanish language pages of a vocabulary 
> (defined by lang attribute for <html>) I always end up with:
> 
>  
> 
> <http://zbw.eu/beta/external_identifiers/jel> a skos:ConceptScheme ;
> 
>     owl:versionInfo "2017-01"@de,
> 
>         "2017-01"@en,
> 
>         "2017-01"@es,
> 
>         "2017-01"@fr .

> in my combined turtle file. The parser I used is pyRdfa, yet I 
> remember having had the same issue with others, too.

> Any help appreciated - cheers, Joachim

I think you are looking for lang="" (HTML) and xml:lang="" (XHTML). For Polyglot markup, you'll have to use both.

-Sarven
http://csarven.ca/#i

Received on Tuesday, 28 February 2017 12:35:22 UTC