It looks like there are several proposals how to publish opening hours in RDF. Are there any real world applications with actual opening hours? I've read that the GoodRelation ontology should fit but only if your opening hours are very simple. I've also seen some artificial toy examples and discussions (for instance at Code4Lib).
The opening hours should allow for day ranges and multiple time ranges per day, for instance:
And it should allow for multiple opening times for different seasons, for instance:
The seasons could also have date ranges, but a label should also be fine to start with. I also though about Timezone information, but if the opening hour is bound to a physical location, the timezone should better be derived from this location.
asked 30 Aug '11, 08:23
As for day ranges and multiple time ranges per day, this is supported by GoodRelations. You can link multiple
It seems that GoodRelations would only need a minor modification to support "named" date ranges and thus to comply to the needs you stated above, perhaps some sort of
answered 30 Aug '11, 09:47
@literary_machine provided a good answer that can be used for unnamed date ranges. To name a date range, you could create a resource that has the same date range. I found that only the Timeline Ontology can specify date ranges in a natural way (with a start day and an end day):
The client could then look up matching intervals in its terminology (
answered 30 Aug '11, 13:48