Re: Which datatype to use for time intervals

Lars,

I'm using the Time ontology for this purpose: http://www.w3.org/TR/owl-time/

Martynas
graphityhq.com

On Tue, Nov 12, 2013 at 3:47 PM, Svensson, Lars <L.Svensson@dnb.de> wrote:
> 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 14:55:29 UTC