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

Re: Datatyping: revised draft

From: Graham Klyne <Graham.Klyne@MIMEsweeper.com>
Date: Wed, 30 Jan 2002 20:28:37 +0000
Message-Id: <5.1.0.14.2.20020130201452.03843650@joy.songbird.com>
To: Sergey Melnik <melnik@db.stanford.edu>
Cc: RDFCore WG <w3c-rdfcore-wg@w3.org>
At 12:02 PM 1/30/02 -0800, Sergey Melnik wrote:
>Graham,
>
>could you share your idea briefly? I'm curious!

OK, the P idiom is this:

   Jenny exP:birthDate _:a .
   _:a rdf:value "2001-07-15" .
   _:a rdf:type exP:date .

or, for a global typing idiom, instead of the final triple, use:

   exP:birthDate rdfs:range exP:date .


You suggest that exP:date is the same as xsd:date.map;  i.e. it denotes the 
data type mapping, whose class extension is a set of <value,lexical> 
pairs.  The denotation of _:a is then a <value,lexical> pair, and the 
property rdf:value then is used like a "selector", in that it relates a 
member of its subject pair to a lexical that is its object; it's relational 
extension would contain:  < <15 July 2001,"2001-07-15">, "2001-07-15" >.

My thought was that exP:date here could be the same as xsd:date.lex, and 
rdf:value was an identity relation, so the denotation of _:a would be just 
a lexical.  The relational extension of rdf:value would contain 
<"2001-07-15","2001-07-15">.

That's it.

#g
--

>Graham Klyne wrote:
> >
> > For some reason I've overlooked checking this sooner.  I observe that your
> > idiom P is idiom D in the current desiderata.
> >
> > Interestingly, I had a different idea about how to do this under scheme S,
> > but either works for me.
> >
> > #g
> > --
> >
> > At 03:16 PM 1/18/02 -0800, Sergey Melnik wrote:
> > >A revised draft of the datatyping document is available:
> > >
> > >http://www-db.stanford.edu/~melnik/rdf/datatyping-20020118/
> > >
> > >Many thanks to Graham for the desiderata, and to Patrick Stickler
> > >for two important contributions:
> > >
> > >1. The editorial changes to the previous version (marked in red).
> > >2. Spotting of a third original idiom (called P in the document),
> > >    in which typed elements are interpreted as elements of the
> > >    datatype mapping.
> > >
> > >Sergey
> >
> > ------------------------------------------------------------
> > Graham Klyne                    MIMEsweeper Group
> > Strategic Research              <http://www.mimesweeper.com>
> > <Graham.Klyne@MIMEsweeper.com>
> >         __
> >        /\ \
> >       /  \ \
> >      / /\ \ \
> >     / / /\ \ \
> >    / / /__\_\ \
> >   / / /________\
> >   \/___________/
>
>--
>E-Mail:      melnik@db.stanford.edu (Sergey Melnik)
>WWW:         http://www-db.stanford.edu/~melnik
>Tel:         OFFICE: 1-650-725-4312 (USA)
>Address:     Room 438, Gates, Stanford University, CA 94305, USA

------------------------------------------------------------
Graham Klyne                    MIMEsweeper Group
Strategic Research              <http://www.mimesweeper.com>
<Graham.Klyne@MIMEsweeper.com>
        __
       /\ \
      /  \ \
     / /\ \ \
    / / /\ \ \
   / / /__\_\ \
  / / /________\
  \/___________/
Received on Wednesday, 30 January 2002 15:36:25 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:44:03 EDT