W3C home > Mailing lists > Public > www-rdf-calendar@w3.org > January 2003

handling VALUE=duration, VALUE=URI

From: Dan Connolly <connolly@w3.org>
Date: Tue, 21 Jan 2003 18:22:46 -0600
To: www-rdf-calendar@w3.org
Message-id: <1043194966.19747.53.camel@dirk.dm93.org>

For tomorrow's meeting, I see libby added

so I tried ical2rdf.pl on it, and discovered
a new value type... URI. I just committed
code that basically treats them like strings...

2002/12/cal/ical2rdf.pl,v  <--  ical2rdf.pl
new revision: 1.5; previous revision: 1.4

So from this...


we get...

  <valarm rdf:parseType='Resource'>
    <trigger rdf:parseType='Resource'>
    <action rdf:resource='http://www.w3.org/2002/12/cal/ical#audio'/>

An alternative would be...

    <attach rdf:resource="Ping"/>

(gotta think about relative URIs too...).

Also, note that


turned into

    <trigger rdf:parseType='Resource'>

This follows
and does *not* follow recent RDF Core WG
on datatypes.

Sorry this message is rushed; I gotta go
pick up the kids, but I didn't want to
leave the little bit of code I wrote
un-checked-in, and we have this agreement
that all changes are announced for review...

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Tuesday, 21 January 2003 19:23:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:14:11 UTC