<docbook><section><title>ODSAtomOWLRefExampleCalendar</title><bridgehead class="http://www.w3.org/1999/xhtml:h3">Calendar Applications Data Space</bridgehead>
 <programlisting>PREFIX rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
PREFIX atom: &lt;http://atomowl.org/ontologies/atomrdf#&gt;
PREFIX sioc: &lt;http://rdfs.org/sioc/ns#&gt;
PREFIX sioct: &lt;http://rdfs.org/sioc/types#&gt;
SELECT * 
WHERE
  {
    ?forum rdf:type sioct:Calendar.
    ?forum sioc:container_of ?post.
    optional { ?post atom:author ?author} .   
    optional { ?post atom:link ?link} .   
    optional { ?post atom:published ?published} .   
    optional { ?post atom:source ?source} .   
    optional { ?post atom:title ?title} .   
    optional { ?post atom:updated ?updated} . 
    optional { ?post atom:published ?date } .   
} 
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Sample Data (Live Query Results)</bridgehead>
 <itemizedlist mark="bullet" spacing="compact"><listitem>Click <ulink url="http://demo.openlinksw.com/sparql?default-graph-uri=http%3A%2F%2Fdemo.openlinksw.com%2Fdataspace&amp;should-sponge=&amp;query=PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0APREFIX+atom%3A+%3Chttp%3A%2F%2Fatomowl.org%2Fontologies%2Fatomrdf%23%3E%0D%0APREFIX+sioc%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fns%23%3E%0D%0APREFIX+sioct%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Ftypes%23%3E%0D%0APREFIX+calr%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F12%2Fcal%23%3E+%0D%0ASELECT+*+%0D%0AWHERE%0D%0A++%7B%0D%0A++++%3Fforum+rdf%3Atype+sioct%3ACalendar.%0D%0A++++%3Fforum+sioc%3Acontainer_of+%3Fpost.%0D%0A++++%3Fpost+rdf%3Atype+calr%3Avevent+.%0D%0A++++optional+%7B+%3Fpost+atom%3Aauthor+%3Fauthor%7D+.+++%0D%0A++++optional+%7B+%3Fpost+atom%3Alink+%3Flink%7D+.+++%0D%0A++++optional+%7B+%3Fpost+atom%3Apublished+%3Fpublished%7D+.+++%0D%0A++++optional+%7B+%3Fpost+atom%3Asource+%3Fsource%7D+.+++%0D%0A++++optional+%7B+%3Fpost+atom%3Atitle+%3Ftitle%7D+.+++%0D%0A++++optional+%7B+%3Fpost+atom%3Aupdated+%3Fupdated%7D+.+%0D%0A++++optional+%7B+%3Fpost+atom%3Apublished+%3Fdate+%7D+.+++%0D%0A%7D+&amp;format=text%2Fhtml">Here</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of Calendar events.
</listitem>
</itemizedlist></section></docbook>