W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > January 2010

Re: @lang and @xml:lang in XHTML+RDFa 1.1

From: KANZAKI Masahide <mkanzaki@gmail.com>
Date: Thu, 14 Jan 2010 21:40:40 +0900
Message-ID: <834575811001140440y6d01eb09m4cbff1cb7edfe8b9@mail.gmail.com>
To: Gregg Kellogg <gregg@kellogg-assoc.com>
Cc: Shane McCarron <shane@aptest.com>, "public-rdf-in-xhtml-tf@w3.org" <public-rdf-in-xhtml-tf@w3.org>
Hi Gregg, thanks for reply.

2010/1/14 Gregg Kellogg <gregg@kellogg-assoc.com>:
> In practice, the way I handle this, is to perform range mapping on untyped literals. By looking up the range of the predicate, I can often infer the appropriate datatype for the literal, turning
>
>        <> dc:modified "2010-01-13"@ja .
>
> into
>
>        <> dc:modified "2010-01-13"^^<http://www.w3.org/2001/XMLSchema#date> .
>
> (having asserted xs:date a range of dc:modified).

Well, that's a good idea for RDFa consumers, though not all terms have
range description in the schema (e.g. properties from simple Dublin
Core). And the basic problem of lang tag handling in RDFa still
remains....

Anyway, thanks for the suggestion.

cheers,

-- 
@prefix : <http://www.kanzaki.com/ns/sig#> . <> :from [:name
"KANZAKI Masahide"; :nick "masaka"; :email "mkanzaki@gmail.com"].
Received on Thursday, 14 January 2010 12:41:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:06 UTC