W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > December 2002

specifying literals

From: Dan Connolly <connolly@w3.org>
Date: 13 Dec 2002 18:13:42 -0600
To: w3c-rdfcore-wg@w3.org
Message-Id: <1039824823.6512.220.camel@dirk>

I see yet another specification of literals in

That has the same problem.

Here's a suggested replacement:

6.5 RDF Literals

  To define a literal in an RDF graph,
  let S be the set of Unicode
  strings in Normal Form C,
  L be the set of language identifiers [RFC3066],
  and U be the set of RDF URI references.

  A plain literal is an element of the
  union of S with SxL; i.e. it's either
  a string or a string paired with a
  language identifier.

  A typed literal is an element of the
  union of SxU with SxUxL.

  Note that U and L are disjoint
  (every member of U contains a colon;
   no member of L contains a colon),
  so SxL doesn't intersect SxU.

Then literal equality falls out from
the traditional definition of tuple
equality and string equality.

I don't see what the NOTE about literals
being distinguisable from URI references
is supposed to mean; that's the same sort
of double-speak that's giving us trouble
in the XML Schema spec.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Friday, 13 December 2002 19:13:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:54:03 UTC