- From: David Booth <david@dbooth.org>
- Date: Tue, 12 Nov 2013 14:38:07 -0500
- To: "Svensson, Lars" <L.Svensson@dnb.de>, "'public-lod@w3.org' (public-lod@w3.org)" <public-lod@w3.org>
On 11/12/2013 10:42 AM, Svensson, Lars wrote: . . . > my:event ex:tookPlaceDuring > "2007-03-01T13:00:00Z/2008-05-11T15:30:00Z"^^some:datatype . # The > interval is an ISO 8601 expression for from-to > > Is there any known datatype I can use for "some:datatype" in the > example above? I want to keep it simple... Will it *really* be simplest to express it in a single token? As soon as you need to process it, you will likely need to parse out the start and end time, thus adding messy complexity later. For example, any attempt to use SPARQL queries against the above representation will likely be messy and *slow*, because of parsing apart the start and end dates. Another approach that would simplify later processing: my:event ex:tookPlaceDuring [ ex:startTime "2007-03-01T13:00:00Z"^^xsd:dateTime ; ex:endTime "2008-05-11T15:30:00Z"^^xsd:dateTime ] . It's a trade-off, and you'll have to decide which benefits you prefer, but I just wanted to be sure you consider the merits of this option. David
Received on Tuesday, 12 November 2013 19:38:35 UTC