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 11:41:46 UTC