Re: Which datatype to use for time intervals

There's this:
http://dublincore.org/documents/dcmi-period/

For cultural heritage (where we need to be concerned about granularity of
definition and vagueness) there's the CRM ontology's Period class, as we at
the British Museum use as here:
http://collection.britishmuseum.org/resource/crm/E4_Period

Barry


---------- Forwarded message ----------
From: Svensson, Lars <L.Svensson@dnb.de>
Date: Tue, Nov 12, 2013 at 2:47 PM
Subject: Which datatype to use for time intervals
To: "'public-lod@w3.org' (public-lod@w3.org)" <public-lod@w3.org>


Is there a standard (recommended) datatype to use when I want to specify a
time interval (e. g. 2013-11-13--2013-11-14)? The XML Schema types [1]
don't include a time interval format (unless you want to encode it as
starting time + duration). There seems to be a way to encode it using ISO
8601, the Wikipedia says that intervals can be expressed as 'Start and end,
such as "2007-03-01T13:00:00Z/2008-05-11T15:30:00Z"' [2], but I haven't
found a formally defined datatype to use with RDF data.

[1] www.w3.org/TR/xmlschema-2/
[2] http://en.wikipedia.org/wiki/ISO_8601#Time_intervals

Thanks for any help,

Lars

Received on Tuesday, 12 November 2013 15:06:22 UTC