W3C home > Mailing lists > Public > www-rdf-interest@w3.org > November 2002

Date Representation Best Practice

From: Ian Davis <iand@internetalchemy.org>
Date: Thu, 14 Nov 2002 07:35:10 +0000
Message-ID: <155145490003.20021114073510@internetalchemy.org>
To: www-rdf-interest@w3.org

Hi all,

I'm experimenting with an application that ties people and
historical events together and have a question regarding the
representation of dates. Currently most RDF applications I have seen
use a literal date representation, utilizing one of the various
standard date formats.

However, this representation requires additional date logic within the
RDF application. In order to answer questions such as "In what year
did a man first walk on the moon?" the application must first seek
the date literal for the event and then parse it to determine the
year.

I've been looking at representing the dates as resources. This lets me
make assertions about each date such as year, month and day. To answer
my question above I then ask for the year of the date of the event. I
can also assert other relationships with other dates such as before
and after which should enable me to find the first man on the moon by
finding a moon walk event such that there are no moon walk events
before it.

Aside from the practical considerations of generating resources for
all possible dates, are there any other reasons why one would favour
literals over resources? Will the proposals for data typing literals
cover date relationships?

Ian
Received on Thursday, 14 November 2002 05:29:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:57 GMT