W3C home > Mailing lists > Public > public-rdfa@w3.org > February 2017

Re: Plain string without language tag

From: Sarven Capadisli <info@csarven.ca>
Date: Tue, 28 Feb 2017 12:40:11 +0100
To: public-rdfa@w3.org
Message-ID: <c0a296ea-b471-d771-3358-edfeb871b961@csarven.ca>
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 11:41:46 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 17 May 2018 12:06:32 UTC