Reputation: 247
We have a class CBSTV
, which has some subclasses like News
, Documentary
, and etc. The data property time
will specify the time of each program. For example, the news
is every day between 16:00:00-17:00:00. I tried to represent this restriction this way:
dateTime [>= T16:00:00Z, <=T17:00:00Z ]
but, it is wrong, anyone know the correct way to represent this
also, we have another data property duration
. For instance the duration of the news
is between 45 minutes to one hour. I don't know how I should represent this one too?
Upvotes: 0
Views: 264
Reputation: 10659
The datatype for recurring times (e.g., 17:00 every day) is not xsd:dateTime but xsd:time
Upvotes: 2