W3C home > Mailing lists > Public > www-rdf-interest@w3.org > September 2001

RE: Literals (Re: model theory for RDF/S)

From: Pierre-Antoine CHAMPIN <champin@bat710.univ-lyon1.fr>
Date: 27 Sep 2001 13:47:36 +0200
To: Patrick.Stickler@nokia.com
Cc: www-rdf-interest@w3.org, www-rdf-logic@w3.org
Message-Id: <1001591257.634.7.camel@lisiperso3>
On Thu, 2001-09-27 at 13:20, Patrick.Stickler@nokia.com wrote:
> > Furthermore, this would offer a straightforward solution to some
> > problems like expressing the xml:lang attribute in RDF.
> I don't think actually that it would provide a solution for
> that per se, as xml:lang is a property of the occurrence, not
> the literal. E.g. the literal byte sequence "pan" could be
> either English or Spanish (and possibly other languages as well)
> yet I would presume that <... xml:lang="en">pan</...> is
> a statement about the particular occurrence of the literal and
> not about the byte sequence "pan" in general. You wouldn't
> (I don't think) want to have multiple statements attributing
> multiple languges to a given string -- at least insofar as
> the intended use of xml:lang is concerned, right?

You're perfectly right.
So I guess that assigning the xml:lang property to the *triple* would be

 <rdf:Description about="myuri">
   <rdfs:label xml:lang="fr">Quelle bonne idée</rdfs:label>

would hence result in

[[ myuri rdfs:Label "Quelle bonne idée" ] xml:lang "fr" ]

-- excuse if my n3 is not quite correct.

> I would myself love to see a data type URI approach by which 
> otherwise "literal" values could be defined as instances of a 
> given data type URI. E.g.
>    dt:integer:5
>    dt:token:en
>    dt:date:2001-09-27
>    dt:time:2000-11-01T17:32:20Z
>    dt:float:38829.11883292
>    ...

So would I...

Received on Thursday, 27 September 2001 07:44:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:32 UTC