W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > March 2003

RDF schema for XML datatypes?

From: Dan Connolly <connolly@w3.org>
Date: 14 Mar 2003 11:51:38 -0600
To: w3c-rdfcore-wg@w3.org
Message-Id: <1047664298.25644.73.camel@dirk.dm93.org>

EricM and everybody,

as part of last call review of our datatype design,
did we ask the XML Schema WG to make an RDF schema
available at http://www.w3.org/2001/XMLSchema-datatypes
and/or at http://www.w3.org/2001/XMLSchema ?

I think we should; i.e. W3C should endorse the
use of these names as datatypes by putting
some RDF there that says they're datatypes.

Something like what Patrick put together...


I still prefer to think that datatype subtyping
works more like subProperty than like subClassOf;
  xsdt:long rdfs:subPropertyOf xsdt:integer.
is a better way of looking at it than
  xsdt:long rdfs:subClassOf xsdt:integer.

But I'm not all *that* uncomfortable using
datatypes both as properties (whose extensions
relate values to lexical forms) and as classes
(of values).

Note XQuery is using
as a namespace prefix for a vocabulary of constructors.

These constructors act an awful lot like RDF properties,
if you ask me.

consider... Examples
      * fn:get-year-from-dateTime(xs:dateTime("1999-05-31T13:20:00-05:00")) returns 1999.

it looks very natural as...

  [ is xs:dateTime of "1999-05-31T13:20:00-05:00" ]
    fn:get-year-from-dateTime 1999.

(assuming N3 grows integer literals).

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Friday, 14 March 2003 12:50:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:24:21 UTC