itin2ical.n3 has rules like:
{ :FLT k:startingDate [ dt:date :YYMMDD]; k:endingDate [ dt:date :YYMMDD2]; t:departureTime :HH_MM; k:fromLocation [ :timeZone [ cal:tzid :TZ] ]; t:arrivalTime :HH_MM2; k:toLocation [ :timeZone [ cal:tzid :TZ2] ]. :DTSTART is str:concatenation of (:YYMMDD "T" :HH_MM ":00"). :DTEND is str:concatenation of (:YYMMDD2 "T" :HH_MM2 ":00"). ( :FLT!log:rawUri "@uri-2-mid.w3.org") str:concatenation :UID. #@@hmm... kludge? } log:implies { :FLT a cal:Vevent; cal:uid :UID; cal:dtstart [ cal:tzid :TZ; cal:dateTime :DTSTART ]; cal:dtend [ cal:tzid :TZ2; cal:dateTime :DTEND ]. }.
18 of 29 |