- From: Dan Connolly <connolly@w3.org>
- Date: 14 Mar 2003 00:08:34 -0600
- To: Libby Miller <Libby.Miller@bristol.ac.uk>
- Cc: Dan Brickley <danbri@w3.org>, www-rdf-calendar@w3.org
On Wed, 2003-03-12 at 12:33, Libby Miller wrote: > > On Wed, 12 Mar 2003, Dan Brickley wrote: [...] > > Martijn van Beers ('LotR' in irc logs) created this .ics representation: > > > > From: "LotR" at 212.83.72.215 > > Summary: shop hours > > > > BEGIN:VCALENDAR > > BEGIN:VEVENT > > DTSTART:20030101T160000 > > DTEND:20030101T230000 > > RRULE:FREQ=WEEKLY;BYDAY=TU > > END:VEVENT > > BEGIN:VEVENT > > DTSTART:20030101T113000 > > DTEND:20030101T230000 > > RRULE:FREQ=WEEKLY;BYDAY=WE,TH,FR,SA,SU > > END:VEVENT > > END:VCALENDAR > > > > (see See http://ilrt.org/discovery/chatlogs/rdfig/2003-03-12#T17-43-54 IRC logs) > > Oops... I guess I should have read the whole thread before I started working on this... I fired up evolution to make a .ics representation. It's not interestingly different from the above... http://www.w3.org/2002/12/cal/test/bus-hrs.ics > > Next job is to RDFize this. http://www.w3.org/2002/12/cal/test/bus-hrs.rdf But again, I see libby already did it.. > > I think the RDF cal view should be simple, and the tricky thing > > will be doing the modeling to link it to more social notions like 'shop' > > and 'open' vs 'closed'... Gee... that seems *much* simpler than modelling the ical recur value type in horn clauses (i.e. N3 or prolog). I just looked over Net-ICal-0.15/lib/Net/ICal/Recurrence.pm, and it's a nighmare. > > Dan > > > > > > > This is what my tool generates in RDF, although it doesn't seem to > validate using http://www.w3.org/rdf/validator: No? I pasted it in and got "Your RDF document validated successfully." and these triples: _:jARP198994 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/ical#Vcalendar> . _:jARP198995 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/ical#Vevent> . _:jARP198996 <http://www.w3.org/2002/12/cal/ical#dateTime> "2003-01-01T16:00:00" . _:jARP198995 <http://www.w3.org/2002/12/cal/ical#dtstart> _:jARP198996 . _:jARP198997 <http://www.w3.org/2002/12/cal/ical#dateTime> "2003-01-01T23:00:00" . _:jARP198995 <http://www.w3.org/2002/12/cal/ical#dtend> _:jARP198997 . _:jARP198998 <http://www.w3.org/2002/12/cal/ical#byday> "TU" . _:jARP198998 <http://www.w3.org/2002/12/cal/ical#freq> "WEEKLY" . _:jARP198995 <http://www.w3.org/2002/12/cal/ical#rrule> _:jARP198998 . _:jARP198994 <http://www.w3.org/2002/12/cal/ical#component> _:jARP198995 . _:jARP198999 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/ical#Vevent> . _:jARP199000 <http://www.w3.org/2002/12/cal/ical#dateTime> "2003-01-01T11:30:00" . _:jARP198999 <http://www.w3.org/2002/12/cal/ical#dtstart> _:jARP199000 . _:jARP199001 <http://www.w3.org/2002/12/cal/ical#dateTime> "2003-01-01T23:00:00" . _:jARP198999 <http://www.w3.org/2002/12/cal/ical#dtend> _:jARP199001 . _:jARP199002 <http://www.w3.org/2002/12/cal/ical#byday> "WE,TH,FR,SA,SU" . _:jARP199002 <http://www.w3.org/2002/12/cal/ical#freq> "WEEKLY" . _:jARP198999 <http://www.w3.org/2002/12/cal/ical#rrule> _:jARP199002 . _:jARP198994 <http://www.w3.org/2002/12/cal/ical#component> _:jARP198999 . > > <rdf:RDF > xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' > xmlns='http://www.w3.org/2002/12/cal/ical#' > xmlns:i='http://www.w3.org/2002/12/cal/ical#' > xmlns:x='ttp://www.w3.org/2002/12/cal/prod_apple#' > > <Vcalendar> > <component> > <Vevent> > <dtstart rdf:parseType='Resource'> > <dateTime>2003-01-01T16:00:00</dateTime> > </dtstart> > <dtend rdf:parseType='Resource'> > <dateTime>2003-01-01T23:00:00</dateTime> > </dtend> > <rrule rdf:parseType='Resource'> > <byday>TU</byday><freq>WEEKLY</freq> </rrule> > </Vevent> > </component> > <component> > <Vevent> > <dtstart rdf:parseType='Resource'> > <dateTime>2003-01-01T11:30:00</dateTime> > </dtstart> > <dtend rdf:parseType='Resource'> > <dateTime>2003-01-01T23:00:00</dateTime> > </dtend> > <rrule rdf:parseType='Resource'> > <byday>WE,TH,FR,SA,SU</byday><freq>WEEKLY</freq> </rrule> > </Vevent> > </component> > </Vcalendar> > </rdf:RDF> > > Libby -- Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Friday, 14 March 2003 01:07:30 UTC