Re: Which datatype to use for time intervals

Lars,

I also use the Time Ontology  http://www.w3.org/TR/owl-time/ - it handles most cases nicely and can even handle broken dates that are sometimes present in historical records (like February 31st) [1].

Rob
[1] http://blog.muninn-project.org/node/57

On 2013-11-12, at 9:47 AM, Svensson, Lars 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 17:48:44 UTC