W3C home > Mailing lists > Public > www-rdf-calendar@w3.org > August 2003

Re: RDF calendar dates, interpretation properties and datatypes

From: Morten Frederiksen <mof-rdf@mfd-consult.dk>
Date: Wed, 20 Aug 2003 13:12:06 +0200
To: www-rdf-calendar@w3.org
Message-Id: <03082013120600.01416@zonker.mfd-consult.dk>

On Tuesday 19 August 2003 15:42, Libby Miller wrote:
> <Vevent>
>  <dtstart>
>   <DateTime>
>     <rdf:value
> rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2003-01-15T18:00:0
>0</rdf:value>
> <tzid>/softwarestudio.org/Olson_20011030_5/Europe/London</tzid> </DateTime>
>  </dtstart>
> </Vevent>
This looks like the best option to me, prevents confusion and isn't that much 
more verbose.

In RDF/XML it could even be abbreviated a bit, provided there's a range 
definition for dtstart:

<Vevent>
  <dtstart rdf:parseType="Resource">
    <rdf:value 
rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2003-01-15T18:00:00</rdf:value>
    <tzid>/softwarestudio.org/Olson_20011030_5/Europe/London</tzid>
  </dtstart>
</Vevent>


Another thought: I'm not sure this is "kosher" use of datatypes, but how 
about using a timezone URI for the datatype:

<Vevent>
  <dtstart 
rdf:datatype="http://tz.example.org/softwarestudio.org/Olson_20011030_5/Europe/London"
>2003-01-15T18:00:00</dtstart>
</Vevent>

This of course leaves the XSD datetime datatype out in the cold, but perhaps 
that could be fixed with some inheritance (somens:subDatatypeOf)?


BTW, what's with the different casing of parseType and datatype?


Regards,
Morten
Received on Saturday, 23 August 2003 01:14:35 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Friday, 25 March 2005 11:20:43 GMT