W3C home > Mailing lists > Public > public-rdf-wg@w3.org > November 2012

RE: Disimproved definition of literals in Concepts; close ISSUE-94?

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Wed, 7 Nov 2012 12:47:08 +0100
To: "'Pierre-Antoine Champin'" <pierre-antoine.champin@liris.cnrs.fr>
Cc: <public-rdf-wg@w3.org>, "'Richard Cyganiak'" <richard@cyganiak.de>
Message-ID: <007b01cdbcdd$9ece7fe0$dc6b7fa0$@lanthaler@gmx.net>
Mainly because querying such data becomes complex since the language is not
visible from an RDF point of view. I would have to filter based on the
contents of that typed literal instead of being able to simply filter by the
language tag associated with that literal.








From: pierre.antoine.champin@gmail.com
[mailto:pierre.antoine.champin@gmail.com] On Behalf Of Pierre-Antoine
Sent: Wednesday, November 07, 2012 8:28 AM
To: Markus Lanthaler
Cc: public-rdf-wg@w3.org; Richard Cyganiak
Subject: Re: Disimproved definition of literals in Concepts; close ISSUE-94?



if you want language-tagged HTML literal,
why not use the @lang attribute at the root of that HTML literal instead?



On Tue, Nov 6, 2012 at 11:38 PM, Markus Lanthaler <markus.lanthaler@gmx.net>

> The new definition is this:
> [[
> A literal in an RDF graph consists of two or three elements:
> . [lexical form]
> . [datatype IRI]
> A literal is a language-tagged string if and only if its datatype IRI is
http://www.w3.org/1999/02/22-rdf-syntax-ns#langString, and only in this case
the third element is present:

> . [language tag]
> ]]

I'm sure you already discussed this but unfortunately I wasn't able to find
anything relevant. Was it considered that also literals with datatypes other
than rdf:langString can be language-tagged? I'm specifically thinking of
rdf:html for example..


Markus Lanthaler

Received on Wednesday, 7 November 2012 11:47:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:02:08 UTC