Re: SV: Instant RDF

On Fri, 25 Aug 2000, Greg FitzPatrick wrote:

> <ical:Vcalendar>
>   <ical:vevent>
>     <ski:Euid rdf:about="kj08988b@nationalchamberorch.org">
>       <ical:uid rdf:value="e098h99@washingtonpost.com"/>
>       <ical:categories rdf:value="music"/>
>       <ical:categories rdf:value="concert"/>
>       <ical:title rdf="Messiah"/>
>       <ical:dtstart rdf:value="19991217T200000"/>
>       <ical:rrule ical:freq="DAILY" ical:interval="1" ical:count="2"/>
>       <ski:persons ski:diprole="conductor" rdf:value="Takao Kanayama"/>
>       <ski:price ski:label="Far side" rdf:value="17USD"/>
>       <ski:admission ski:qualtype="AGE" ski:qualrule="REQUIRED"
> ski:qualvalue="gt 5" rdf:value=""/>
>     </ski:Euid>
>   </ical:vevent>
> </ical:Vcalendar>

We can skip one level with help of the parseType attribute.  But that
makes the Euid resource anonymous. We have to go back to give Euid
explicitly (using the euid property):

<ical:Vcalendar>
  <ical:vevent rdf:parseType="Resource"> 
    <ski:euid rdf:value="kj08988b@nationalchamberorch.org">
    <ical:uid rdf:value="e098h99@washingtonpost.com"/>   
    <ical:categories rdf:value="music"/>
    <ical:categories rdf:value="concert"/>
    <ical:title rdf="Messiah"/>
    <ical:dtstart rdf:value="19991217T200000"/>
    <ical:rrule ical:freq="DAILY" ical:interval="1" ical:count="2"/>
    <ski:persons ski:diprole="conductor" rdf:value="Takao Kanayama"/>
    <ski:price ski:label="Far side" rdf:value="17USD"/>
    <ski:admission ski:qualtype="AGE" ski:qualrule="REQUIRED"
ski:qualvalue="gt 5" rdf:value=""/>
  </ical:vevent>
</ical:Vcalendar>
  



One more note: I don't think that my generalized usage of rdf:value has
been fully adopted by the RDF community yet...



-- 
/ Jonas  -  http://jonas.liljegren.org/myself/en/index.html

Received on Friday, 25 August 2000 12:55:10 UTC