Stuart, A string, as Scott is suggesting, will give you the most flexibility of the entry format. Alternatively, you can also make a range of a property be xsd:time. You will then be able to enter time information without the date.
TBC gives you a clock widget for picking the time. This includes ability to set the time zone. Note that the time will have to include seconds as in 09:55:11.031 where 9 is for hours, 55 for minutes and 11.031 for seconds. Regards, Irene Polikoff -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Henninger Sent: Monday, November 24, 2008 12:14 AM To: TopBraid Composer Users Subject: [tbc-users] Re: Temporal data in TBC and/or AllegroCL Stuart; It seems the OWL-time ontology defines inXSDDateTime and XSDDateTime properties with the range defined with XSD dateTime datatypes. xsd:dateTime is defined by XML Schema and both date and time are required - e.g. 2008-11-23T23:08:00 It seems like you could define a string datatype and use that property or combine the 'hours' and 'minutes' properties. -- Scott On Nov 22, 2:44 pm, "Stewart Wallace" <[EMAIL PROTECTED]> wrote: > Wondering if someone can help me get undeway here - I'm just trying to > setup some very basic temporal information like <thisShop> > <hasOpeningHours> <9:00 - 17:00> (or hasOpeningTime 9:00 and > hasClosingTime 17:00) - or whatever. > > In TBC I've imported OWL-time and it seems I need to setup an > appropriate ProperInterval which will have a hasBeginning and a > hasEnd, each of which is an Instance of time:Instant - but I can't see > how to create an Instant and give it a generic time like 09:00:00 > without a date. There is a Property for Instant called inXSDDateTime > but that won't accept a time without a date - nor will XSDDateTime . > > In AllegroCL I'm trying to use date-thing-to-upi but that also seems > to insist on a date. > > I'd prefer to work in TBC on this but any advice on how, in either of > these environments, I can simply record a time irrespective of date > would be much appreciated. > > Stewart Wallace > > ______________________________________________________________________ > _________________________ This email and any files transmitted with it > are intended solely for the use of the addressee(s) and may contain > information that is confidential or subject to legal privilege. If you > receive this email and you are not the addressee (or responsible for > delivery of the email to the addressee), please note that any copying, > distribution or use of this email is prohibited and as such, please > disregard the contents of the email, delete the email and notify the sender immediately. > ______________________________________________________________________ > _________________________ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
