Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to structure opening hours of a place? May-be there's even an ontology for it?

Tags:

ontology

Does anyone know any ontology which specifies opening hours of places? For example, I have a museum, which has 2 seasons. For low season (season start and end is specified), it is opened 10.00 - 18.00 on weekdays and 10-16 on saturday (on sunday it's closed), for high season it's opened 10-20 on weekdays and 10-18 on weekend.

If there is no ontology, may-be people have experience, how best to structure information like that?

I'm describing information in RDF. But whatever comments are welcome (even if you have relational database which holds given data).

Thanks

like image 632
Ago Avatar asked Mar 12 '10 10:03

Ago


1 Answers

You might find the W3C's RDF Calendar note useful. I've not tried it myself, but I can say that you probably want to represent your data in iCalendar format if you can.

like image 143
Andrew Aylett Avatar answered Oct 01 '22 03:10

Andrew Aylett