<docbook><section><title>ODSSIOCRef</title><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">ODS SIOC Reference</bridgehead>
 This article outlines the mapping of ODS data to the SIOC ontology for the purpose of constructing <ulink url="SPARQL">SPARQL</ulink> Queries against <ulink url="OpenLink">OpenLink</ulink> Data Spaces <ulink url="ODS">ODS</ulink> Data. <para><emphasis>Note</emphasis>:</para>
<itemizedlist mark="bullet" spacing="compact"><listitem>To validate a particular SIOC RDF Data Set (in plain old RDF form), you can use the <ulink url="http://www.w3.org/RDF/Validator/">W3C RDF Validation Service</ulink> </listitem>
<listitem>You can actually create you own Data Spaces and then experiment with these queries by opening accounts at: <ulink url="http://demo.openlinksw.com/ods">http://demo.openlinksw.com/ods</ulink> (for very temporary and volatile usage) or <ulink url="http://myopenlink.net:8890/ods">http://myopenlink.net:8890/ods</ulink> (for less volatile usage) </listitem>
<listitem>You can run most (if not all) of the queries with minimal modification using the following SPARQL Query Services: <ulink url="http://demo.openlinksw.com/sparql/">http://demo.openlinksw.com/sparql/</ulink> (using the &#39;demo&#39; user account) and <ulink url="http://myopenlink.net:8890/sparql/">http://myopenlink.net:8890/sparql/</ulink> (assuming you have an account with this service) </listitem>
<listitem>Default Graph URI value used in the queries below is: <ulink url="http://demo.openlinksw.com/dataspace">http://demo.openlinksw.com/dataspace</ulink></listitem>
</itemizedlist><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Weblog Data Space</bridgehead>
 <bridgehead class="http://www.w3.org/1999/xhtml:h4">Key ODS-Weblog to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry>ODS</entry><entry>SIOC</entry><entry>Sample Value</entry></row>
<row><entry>Application Instance</entry><entry>rdf:type</entry><entry>sioc:Forum</entry></row>
<row><entry>Application Type</entry><entry>rdf:type</entry><entry>sioct:Weblog</entry></row>
<row><entry>Application Instance Name</entry><entry>sioc:id</entry><entry>&quot;<ulink url="http://demo.openlinksw.com/dataspace/demo/weblog/myblog">http://demo.openlinksw.com/dataspace/demo/weblog/myblog</ulink>&quot;</entry></row><entry /><entry />
</tbody></tgroup></table>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Data Space Post/Entry/Item Properties (sioc:Post predicates)</bridgehead>
 <programlisting>   * attachment
   * content
   * has_container
   * has_creator
   * has_reply
   * id
   * link
   * links_to
   * reply_of
   * topic (tags)
</programlisting><para> </para>
<programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select distinct ?attribute
where 
  {
    ?forum a sioct:Weblog .
    ?forum sioc:container_of ?post .
    ?post ?attribute ?o  
  }
order by ?attribute
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Weblog Posts for a given ODS Member</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt; 
select DISTINCT ?forum_name, ?post, ?title ?cr ?url 
where    
  { 
    ?forum a sioct:Weblog .
    ?forum sioc:id ?forum_name.
    ?forum sioc:scope_of ?role. 
    ?role sioc:function_of &lt;http://demo.openlinksw.com/dataspace/demo#this&gt; .
    ?forum sioc:container_of ?post. 
    optional{?post dct:title ?title}.
    optional{?post dcc:created ?cr}.
    optional{?post sioc:link ?url}.
  }
order by DESC (?cr)
</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+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+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E+%0D%0Aprefix+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0Aprefix+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E+%0D%0Aselect+DISTINCT+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle+%3Fcr+%3Furl+%0D%0Awhere++++%0D%0A++%7B+%0D%0A++++%3Fforum+a+sioct%3AWeblog+.%0D%0A++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A++++%3Fforum+sioc%3Ascope_of+%3Frole.+%0D%0A++++%3Frole+sioc%3Afunction_of+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%2Fdemo%23this%3E+.%0D%0A++++%3Fforum+sioc%3Acontainer_of+%3Fpost.+%0D%0A++++optional%7B%3Fpost+dct%3Atitle+%3Ftitle%7D.%0D%0A++++optional%7B%3Fpost+dcc%3Acreated+%3Fcr%7D.%0D%0A++++optional%7B%3Fpost+sioc%3Alink+%3Furl%7D.%0D%0A++%7D%0D%0Aorder+by+DESC+%28%3Fcr%29&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of blog posts for user demo.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h5">List of Web Services (e.g Atom Publishing (SOAP), Moveable Type (XML-RPC) etc.) associated with Weblog Data Space Instances</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix svc: &lt;http://rdfs.org/sioc/services#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select ?endp, ?proto 
where 
  {
    ?forum a sioct:Weblog .
    ?forum svc:has_service ?svc .
    ?svc svc:service_endpoint ?endp .
    ?svc svc:service_protocol ?proto .
   }
order by ?proto
</programlisting><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+svc%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fservices%23%3E%0D%0Aprefix+sioct%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Ftypes%23%3E%0D%0Aselect+%3Fendp%2C+%3Fproto+%0D%0Awhere+%0D%0A++%7B%0D%0A++++%3Fforum+a+sioct%3AWeblog+.%0D%0A++++%3Fforum+svc%3Ahas_service+%3Fsvc+.%0D%0A++++%3Fsvc+svc%3Aservice_endpoint+%3Fendp+.%0D%0A++++%3Fsvc+svc%3Aservice_protocol+%3Fproto+.%0D%0A+++%7D%0D%0Aorder+by+%3Fproto&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of blog posts.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Weblog Posts for a given ODS Member that includes content of blog post.
</bridgehead>
<programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select ?forum_name, ?post, ?title, ?cr, ?content, ?url
where    
  { 
    ?forum a sioct:Weblog .
    ?forum sioc:id ?forum_name.
    ?forum sioc:scope_of ?role. 
    ?role sioc:function_of &lt;http://demo.openlinksw.com/dataspace/demo#this&gt; .
    ?forum sioc:container_of ?post. 
    optional{?post dct:title ?title }.
    optional{?post dcc:created ?cr }.
    optional{?post sioc:link ?url }.
    optional{?post sioc:links_to ?links_to }.
    optional{?post sioc:content ?content}
  } 
</programlisting><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+sioc%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fns%23%3E+%0D%0Aprefix+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E+%0D%0Aprefix+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0Aprefix+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E+%0D%0Aprefix+sioct%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Ftypes%23%3E%0D%0Aselect+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Fcr%2C+%3Fcontent%2C+%3Furl%0D%0Awhere++++%0D%0A++%7B+%0D%0A++++%3Fforum+a+sioct%3AWeblog+.%0D%0A++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A++++%3Fforum+sioc%3Ascope_of+%3Frole.+%0D%0A++++%3Frole+sioc%3Afunction_of+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%2Fdemo%23this%3E+.%0D%0A++++%3Fforum+sioc%3Acontainer_of+%3Fpost.+%0D%0A++++optional%7B%3Fpost+dct%3Atitle+%3Ftitle+%7D.%0D%0A++++optional%7B%3Fpost+dcc%3Acreated+%3Fcr+%7D.%0D%0A++++optional%7B%3Fpost+sioc%3Alink+%3Furl+%7D.%0D%0A++++optional%7B%3Fpost+sioc%3Alinks_to+%3Flinks_to+%7D.%0D%0A++++optional%7B%3Fpost+sioc%3Acontent+%3Fcontent%7D%0D%0A++%7D+&amp;format=text%2Fhtml&amp;debug=on">Here</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of blog posts.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Weblog Posts for a given ODS Member that includes content of blog post plus out-bound links.
</bridgehead>
<programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt; 
select ?forum_name, ?post, ?title, ?cr, ?content, ?url, ?links_to
where    
   { 
     ?forum a sioct:Weblog . 
     ?forum sioc:id ?forum_name.
     ?forum sioc:scope_of ?role. 
     ?role sioc:function_of &lt;http://demo.openlinksw.com/dataspace/demo#this&gt; .
     ?forum sioc:container_of ?post. 
     optional{ ?post dct:title ?title }.
     optional{ ?post dcc:created ?cr }.
     optional{ ?post sioc:link ?url }.
     optional{ ?post sioc:links_to ?links_to }.
     optional{?post sioc:content ?content}
   } 
</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+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+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E+%0D%0Aprefix+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0Aprefix+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E+%0D%0Aselect+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Fcr%2C+%3Fcontent%2C+%3Furl%2C+%3Flinks_to%0D%0Awhere++++%0D%0A+++%7B+%0D%0A+++++%3Fforum+a+sioct%3AWeblog+.+%0D%0A+++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A+++++%3Fforum+sioc%3Ascope_of+%3Frole.+%0D%0A+++++%3Frole+sioc%3Afunction_of+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%2Fdemo%23this%3E+.%0D%0A+++++%3Fforum+sioc%3Acontainer_of+%3Fpost.+%0D%0A+++++optional%7B+%3Fpost+dct%3Atitle+%3Ftitle+%7D.%0D%0A+++++optional%7B+%3Fpost+dcc%3Acreated+%3Fcr+%7D.%0D%0A+++++optional%7B+%3Fpost+sioc%3Alink+%3Furl+%7D.%0D%0A+++++optional%7B+%3Fpost+sioc%3Alinks_to+%3Flinks_to+%7D.%0D%0A+++++optional%7B%3Fpost+sioc%3Acontent+%3Fcontent%7D%0D%0A+++%7D+&amp;format=text%2Fhtml&amp;debug=on">Here</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of blog posts.</listitem>
</itemizedlist><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Wiki Data Space</bridgehead>
 <bridgehead class="http://www.w3.org/1999/xhtml:h4">Key ODS-Wiki to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry>ODS</entry><entry>SIOC</entry><entry>Sample Value</entry></row>
<row><entry>Application Instance</entry><entry>rdf:type</entry><entry>sioc:Container</entry></row>
<row><entry>Application Type</entry><entry>rdf:type</entry><entry>sioct:Wiki</entry></row>
<row><entry>Application Instance Name</entry><entry>sioc:id</entry><entry>&quot;<ulink url="http://demo.openlinksw.com/dataspace/demo/wiki/mywiki">http://demo.openlinksw.com/dataspace/demo/wiki/mywiki</ulink>&quot;</entry></row><entry /><entry />
</tbody></tgroup></table>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Data Space Post/Entry/Item Properties (sioc:Post predicates)</bridgehead>
 <programlisting>   * attachment
   * content
   * has_container
   * has_creator
   * id
   * link
   * links_to
   * reply_of (TBD - for older db is not supported)
   * topic (tags)
   * has_reply 
</programlisting><programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select distinct ?attribute
where
   {
     ?forum rdf:type sioct:Wiki  .
     ?forum sioc:container_of ?post .
     ?post ?attribute ?o  
   }
order by ?attribute
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Wikiwords for a given Wiki</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt; 
select distinct ?forum_name, ?post, ?title, ?link, ?links_to, ?cr
where 
  {
    ?forum rdf:type sioct:Wiki .
    ?forum sioc:id ?forum_name.
    ?forum sioc:container_of ?post .
    ?post  dct:title ?title.
    optional {?post dcc:created ?cr}.
    optional  {?post sioc:link ?link} .
    optional {?post sioc:links_to ?links_to} .   
  }
order by ?title
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all <ulink url="WikiWords">WikiWords</ulink> for a given Wiki including content</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt; 
select ?forum_name, ?post, ?title, ?link, ?cr, ?content
where 
  {
    ?forum rdf:type sioct:Wiki .
    ?forum sioc:id ?forum_name.
    ?forum sioc:container_of ?post .
    ?post  dct:title ?title.
    optional  {?post dcc:created ?cr}.
    optional  {?post sioc:link ?link} .
    optional  {?post sioc:content ?content}. 
  }
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all <ulink url="WikiWords">WikiWords</ulink> for a given Wiki including content plus out-bound links</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt; 
select ?forum_name, ?post, ?title, ?link, ?links_to, ?cr, ?content
where 
  {
    ?forum rdf:type sioct:Wiki .
    ?forum sioc:id ?forum_name.
    ?forum sioc:container_of ?post .
    ?post dct:title ?title.
    optional {?post dcc:created ?cr}.
    optional {?post sioc:link ?link} .
    optional {?post sioc:links_to ?links_to} .  
    optional {?post sioc:content ?content}. 
  }
</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;query=prefix+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%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+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E+%0D%0APREFIX+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E+%0D%0ASELECT+distinct+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Flink%2C+%3Flinks_to%2C+%3Fcr%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE+%7B%0D%0A++++++++%3Fforum+rdf%3Atype+sioct%3AWiki+.%0D%0A++++++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A++++++++%3Fforum+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++++++%3Fpost++dct%3Atitle+%3Ftitle.%0D%0A++++++++optional+%7B%3Fpost+dcc%3Acreated+%3Fcr%7D.%0D%0A++++++++optional+%7B%3Fpost+sioc%3Alink+%3Flink%7D+.%0D%0A++++++++optional+%7B%3Fpost+sioc%3Alinks_to+%3Flinks_to%7D+.+++%0D%0A++++++%7D%0D%0AORDER+BY+%3Ftitle&amp;format=text%2Fhtml">Here</ulink> for a live SPARQL Query (via SPARQL Protocol) against a Collection of Wikis.</listitem>
</itemizedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">List of Web Services (e.g Atom Publishing (SOAP), Moveable Type (XML-RPC) etc.) associated with Wiki Data Space Instances</bridgehead>
 <programlisting>prefix svc: &lt;http://rdfs.org/sioc/services#&gt;
prefix  sioct: &lt;http://rdfs.org/sioc/types#&gt;
select ?endp , ?proto 
where
  {
    ?forum a sioct:Wiki.
    ?forum svc:has_service ?svc .
    ?svc svc:service_endpoint ?endp .
    ?svc svc:service_protocol ?proto .
   }
order by ?proto
</programlisting><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+svc%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fservices%23%3E%0D%0Aprefix++sioct%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Ftypes%23%3E%0D%0Aselect+%3Fendp+%2C+%3Fproto+%0D%0Awhere%0D%0A++%7B%0D%0A++++%3Fforum+a+sioct%3AWiki.%0D%0A++++%3Fforum+svc%3Ahas_service+%3Fsvc+.%0D%0A++++%3Fsvc+svc%3Aservice_endpoint+%3Fendp+.%0D%0A++++%3Fsvc+svc%3Aservice_protocol+%3Fproto+.%0D%0A+++%7D%0D%0Aorder+by+%3Fproto&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of Wiki Services.</listitem>
</itemizedlist><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Calendar Data Space</bridgehead>
 <bridgehead class="http://www.w3.org/1999/xhtml:h4">Key ODS-Calendar to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry>ODS</entry><entry>SIOC</entry><entry>Sample Value</entry></row>
<row><entry>Application Instance</entry><entry>rdf:type</entry><entry>sioc:Container</entry></row>
<row><entry>Application Type</entry><entry>rdf:type</entry><entry>sioct:Calendar</entry></row>
<row><entry>Application Instance Name</entry><entry>sioc:id</entry><entry>&quot;<ulink url="http://demo.openlinksw.com/dataspace/demo/calendar/mycalendar">http://demo.openlinksw.com/dataspace/demo/calendar/mycalendar</ulink>&quot;</entry></row>
</tbody></tgroup></table>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Data Space Post/Entry/Item Properties (sioc:Post predicates)</bridgehead>
 <programlisting>   * content
   * has_container
   * has_creator
   * id
   * link
   * topic (tags)
</programlisting><programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select distinct ?attribute
where 
  {
    ?forum rdf:type sioct:Calendar .
    ?forum sioc:container_of ?post .
    ?post ?attribute ?o  
  }
order by ?attribute
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Events for a given Calendar</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt;
prefix calr: &lt;http://www.w3.org/2002/12/cal#&gt; 
select distinct ?forum_name, ?post, ?title, ?link, ?cr
where 
  {
    ?forum rdf:type sioct:Calendar .
    ?forum sioc:id ?forum_name.
    ?forum sioc:container_of ?post .
    ?post rdf:type calr:vevent .
    ?post  dct:title ?title.
    optional {?post dcc:created ?cr}.
    optional {?post sioc:link ?link} .   
  }
</programlisting><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+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+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0APREFIX+calr%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F12%2Fcal%23%3E+%0D%0ASELECT+distinct+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Flink%2C+%3Fcr%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE+%0D%0A++%7B%0D%0A++++%3Fforum+rdf%3Atype+sioct%3ACalendar+.%0D%0A++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A++++%3Fforum+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++%3Fpost+rdf%3Atype+calr%3Avevent+.%0D%0A++++%3Fpost++dct%3Atitle+%3Ftitle.%0D%0A++++optional+%7B%3Fpost+dcc%3Acreated+%3Fcr%7D.%0D%0A++++optional+%7B%3Fpost+sioc%3Alink+%3Flink%7D+.+++%0D%0A++%7D&amp;format=text%2Fhtml">Here</ulink> for a live SPARQL Query (via SPARQL Protocol) against a Collection of Calendar Posts.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Events for a given Calendar including content</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt; 
prefix calr: &lt;http://www.w3.org/2002/12/cal#&gt; 
select ?forum_name, ?post, ?title, ?link, ?links_to, ?cr, ?content
where 
  {
    ?forum rdf:type sioct:Calendar.
    ?forum sioc:id ?forum_name.
    ?forum sioc:container_of ?post .
    ?post rdf:type calr:vevent .
    optional {?post dct:title ?title}.
    optional {?post dcc:created ?cr}.
    optional {?post sioc:link ?link} .
    optional {?post sioc:links_to ?links_to} .  
    optional {?post sioc:content ?content}. 
  }
</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+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+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E+%0D%0APREFIX+calr%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F12%2Fcal%23%3E+%0D%0ASELECT+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Flink%2C+%3Flinks_to%2C+%3Fcr%2C+%3Fcontent%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE+%0D%0A++%7B%0D%0A++++%3Fforum+rdf%3Atype+sioct%3ACalendar.%0D%0A++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A++++%3Fforum+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++%3Fpost+rdf%3Atype+calr%3Avevent+.%0D%0A++++optional+%7B%3Fpost+dct%3Atitle+%3Ftitle%7D.%0D%0A++++optional+%7B%3Fpost+dcc%3Acreated+%3Fcr%7D.%0D%0A++++optional+%7B%3Fpost+sioc%3Alink+%3Flink%7D+.%0D%0A++++optional+%7B%3Fpost+sioc%3Alinks_to+%3Flinks_to%7D+.++%0D%0A++++optional+%7B%3Fpost+sioc%3Acontent+%3Fcontent%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><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of Events with details for a given Calendar</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt;
prefix calr: &lt;http://www.w3.org/2002/12/cal#&gt; 
select distinct ?forum_name, ?post, ?url, ?summary, ?descr, ?location
where 
  {
    ?forum rdf:type sioct:Calendar .
    ?forum sioc:id ?forum_name.
    ?forum sioc:container_of ?post .
    ?post rdf:type calr:vevent .
    optional{?post dct:title ?title}.
    optional{?post calr:url ?url }.
    optional{?post calr:summary ?summary }.
    optional{?post calr:description ?descr }.
    optional{?post calr:dtstart ?start}.
    optional{?post calr:location ?location}.
  }
</programlisting><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+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+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0APREFIX+calr%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F12%2Fcal%23%3E+%0D%0ASELECT+distinct+%3Fforum_name%2C+%3Fpost%2C+%3Furl%2C+%3Fsummary%2C+%3Fdescr%2C+%3Flocation%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE+%0D%0A++%7B%0D%0A++++%3Fforum+rdf%3Atype+sioct%3ACalendar+.%0D%0A++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A++++%3Fforum+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++%3Fpost+rdf%3Atype+calr%3Avevent+.%0D%0A++++optional%7B%3Fpost+dct%3Atitle+%3Ftitle%7D.%0D%0A++++optional%7B%3Fpost+calr%3Aurl+%3Furl+%7D.%0D%0A++++optional%7B%3Fpost+calr%3Asummary+%3Fsummary+%7D.%0D%0A++++optional%7B%3Fpost+calr%3Adescription+%3Fdescr+%7D.%0D%0A++++optional%7B%3Fpost+calr%3Adtstart+%3Fstart%7D.%0D%0A++++optional%7B%3Fpost+calr%3Alocation+%3Flocation%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><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Feeds / Subscriptions Data Space (Feed Aggregation)</bridgehead>
 <bridgehead class="http://www.w3.org/1999/xhtml:h4">Key ODS-Feed Manager to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry>ODS</entry><entry>SIOC</entry><entry>Sample Value</entry></row>
<row><entry>Application Instance</entry><entry>rdf:type</entry><entry>sioc:Container</entry></row>
<row><entry>Application Type</entry><entry>rdf:type</entry><entry>sioct:<ulink url="SubscriptionList">SubscriptionList</ulink></entry></row>
<row><entry>Application Instance Name</entry><entry>sioc:id</entry><entry>&quot;<ulink url="http://demo.openlinksw.com/dataspace/demo/subscriptions/DemoFeeds">http://demo.openlinksw.com/dataspace/demo/subscriptions/DemoFeeds</ulink>&quot;</entry></row><entry /><entry />
</tbody></tgroup></table>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Data Space Post/Entry/Item Properties (sioc:Post predicates)</bridgehead>
 <programlisting>   * content
   * has_container
   * has_creator
   * has_reply 
   * id
   * link
   * links_to   
   * reply_of
   * topic (tags)
</programlisting><programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select distinct ?attribute
where {
        ?forum rdf:type sioct:SubscriptionList .
        ?forum sioc:parent_of ?parentf .
        ?parentf sioc:container_of ?post .
        ?post ?attribute ?o  
      }
order by ?attribute
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h5">Obtaining a dump of all Posts within an ODS-Feeds Data Space.
</bridgehead>
<programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc:  &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt;
select  ?forum_name, ?channel, ?item_title, ?created
where 
  {
    ?forum a sioct:SubscriptionList;
                   sioc:id ?forum_name.
    ?forum sioc:scope_of ?role. 
    ?role sioc:function_of &lt;http://demo.openlinksw.com/dataspace/demo#this&gt; .
    ?forum sioc:parent_of ?channel .
    ?channel sioc:container_of ?post .
    optional{ ?post dct:title ?item_title }.
    optional{ ?post dcc:created ?created }.
  }
</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+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+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0Aprefix+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0Aselect++%3Fforum_name%2C+%3Fchannel%2C+%3Fitem_title%2C+%3Fcreated%0D%0Awhere+%0D%0A++%7B%0D%0A++++%3Fforum+a+sioct%3ASubscriptionList%3B%0D%0A+++++++++++++++++++sioc%3Aid+%3Fforum_name.%0D%0A++++%3Fforum+sioc%3Ascope_of+%3Frole.+%0D%0A++++%3Frole+sioc%3Afunction_of+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%2Fdemo%23this%3E+.%0D%0A++++%3Fforum+sioc%3Aparent_of+%3Fchannel+.%0D%0A++++%3Fchannel+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++optional%7B+%3Fpost+dct%3Atitle+%3Fitem_title+%7D.%0D%0A++++optional%7B+%3Fpost+dcc%3Acreated+%3Fcreated+%7D.%0D%0A++%7D&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of Feed Subscriptions.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h5">Obtaining a dump of all Posts within an ODS-Feeds Data Space that includes feed content</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt;
select  ?forum_name, ?channel, ?item_title, ?url, ?created, ?content
where 
  {
    ?forum a sioct:SubscriptionList;
               sioc:id ?forum_name.
    ?forum sioc:scope_of ?role. 
    ?role sioc:function_of &lt;http://demo.openlinksw.com/dataspace/demo#this&gt; .
    ?forum sioc:parent_of ?channel .
    ?channel sioc:container_of ?post .
    optional{ ?post dct:title ?item_title }.
    optional{ ?post sioc:links_to ?url }.
    optional{ ?post dcc:created ?created }.
    optional{ ?post sioc:content ?content}.
  }
</programlisting><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+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+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0Aprefix+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0Aselect++%3Fforum_name%2C+%3Fchannel%2C+%3Fitem_title%2C+%3Furl%2C+%3Fcreated%2C+%3Fcontent%0D%0Awhere+%0D%0A++%7B%0D%0A++++%3Fforum+a+sioct%3ASubscriptionList%3B%0D%0A+++++++++++++++sioc%3Aid+%3Fforum_name.%0D%0A++++%3Fforum+sioc%3Ascope_of+%3Frole.+%0D%0A++++%3Frole+sioc%3Afunction_of+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%2Fdemo%23this%3E+.%0D%0A++++%3Fforum+sioc%3Aparent_of+%3Fchannel+.%0D%0A++++%3Fchannel+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++optional%7B+%3Fpost+dct%3Atitle+%3Fitem_title+%7D.%0D%0A++++optional%7B+%3Fpost+sioc%3Alinks_to+%3Furl+%7D.%0D%0A++++optional%7B+%3Fpost+dcc%3Acreated+%3Fcreated+%7D.%0D%0A++++optional%7B+%3Fpost+sioc%3Acontent+%3Fcontent%7D.%0D%0A++%7D&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of Feed Subscriptions.</listitem>
</itemizedlist><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> Bookmarks Data Space</bridgehead>
 <bridgehead class="http://www.w3.org/1999/xhtml:h4">Key ODS-Bookmark Manager to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry>ODS</entry><entry>SIOC</entry><entry>Sample Value</entry></row>
<row><entry>Application Instance</entry><entry>rdf:type</entry><entry>sioc:Container</entry></row>
<row><entry>Application Type</entry><entry>rdf:type</entry><entry>sioct:<ulink url="BookmarkFolder">BookmarkFolder</ulink></entry></row>
<row><entry>Application Instance Name</entry><entry>sioc:id</entry><entry>&quot;<ulink url="http://demo.openlinksw.com/dataspace/demo/bookmark/mybookmarks">http://demo.openlinksw.com/dataspace/demo/bookmark/mybookmarks</ulink>&quot;</entry></row><entry /><entry />
</tbody></tgroup></table>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Data Space Post/Entry/Item Properties (sioc:Post predicates)</bridgehead>
 <programlisting>   * content   
   * has_container
   * has_creator
   * id
   * link
   * links_to
   * topic (tags) 
</programlisting><programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select distinct ?attribute
where {
        ?forum a sioct:BookmarkFolder .
        ?forum sioc:container_of ?post .
        ?post ?attribute ?o  
      }
order by ?attribute
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Bookmark Data Space entries for a given ODS Bookmarks Data Space</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
select distinct ?forum_name, ?post, ?title, ?link, ?url
where {
        ?forum a sioct:BookmarkFolder .
        ?forum sioc:id ?forum_name.
        ?forum sioc:scope_of ?role. 
        ?role sioc:function_of &lt;http://demo.openlinksw.com/dataspace/demo#this&gt; .
        ?forum sioc:container_of ?post .
        optional{ ?post  dct:title ?title }.
        optional{ ?post sioc:link ?link  } .
        optional{ ?post sioc:links_to ?url }
      }
order by ?title
</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+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+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0Aselect+distinct+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Flink%2C+%3Furl%0D%0Awhere+%7B%0D%0A++++++++%3Fforum+a+sioct%3ABookmarkFolder+.%0D%0A++++++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A++++++++%3Fforum+sioc%3Ascope_of+%3Frole.+%0D%0A++++++++%3Frole+sioc%3Afunction_of+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%2Fdemo%23this%3E+.%0D%0A++++++++%3Fforum+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++++++optional%7B+%3Fpost++dct%3Atitle+%3Ftitle+%7D.%0D%0A++++++++optional%7B+%3Fpost+sioc%3Alink+%3Flink++%7D+.%0D%0A++++++++optional%7B+%3Fpost+sioc%3Alinks_to+%3Furl+%7D%0D%0A++++++%7D%0D%0Aorder+by+%3Ftitle&amp;format=text%2Fhtml&amp;debug=on">Here</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of published bookmarks.</listitem>
</itemizedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">List of Web Services (e.g Atom Publishing (SOAP), Moveable Type (XML-RPC) etc.) associated with Bookmarks Data Space Instances</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix svc: &lt;http://rdfs.org/sioc/services#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select ?endp , ?proto 
where 
  {
    ?forum a sioct:BookmarkFolder .
    ?forum svc:has_service ?svc .
    ?svc svc:service_endpoint ?endp .
    ?svc svc:service_protocol ?proto .
   }
order by ?proto
</programlisting><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+svc%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fservices%23%3E%0D%0Aprefix+sioct%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Ftypes%23%3E%0D%0Aselect+%3Fendp+%2C+%3Fproto+%0D%0Awhere+%0D%0A++%7B%0D%0A++++%3Fforum+a+sioct%3ABookmarkFolder+.%0D%0A++++%3Fforum+svc%3Ahas_service+%3Fsvc+.%0D%0A++++%3Fsvc+svc%3Aservice_endpoint+%3Fendp+.%0D%0A++++%3Fsvc+svc%3Aservice_protocol+%3Fproto+.%0D%0A+++%7D%0D%0Aorder+by+%3Fproto&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of Bookmarks Web Services..</listitem>
</itemizedlist><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> AddressBook Data Space</bridgehead>
 <bridgehead class="http://www.w3.org/1999/xhtml:h4">Key ODS-AddressBook to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry>ODS</entry><entry>SIOC</entry><entry>Sample Value</entry></row>
<row><entry>Application Instance</entry><entry>rdf:type</entry><entry>sioc:Container</entry></row>
<row><entry>Application Type</entry><entry>rdf:type</entry><entry>sioct:<ulink url="AddressBook">AddressBook</ulink></entry></row>
<row><entry>Application Instance Name</entry><entry>sioc:id</entry><entry>&quot;<ulink url="http://demo.openlinksw.com/dataspace/demo/addressbook/myAddressBook">http://demo.openlinksw.com/dataspace/demo/addressbook/myAddressBook</ulink>&quot;</entry></row><entry /><entry />
</tbody></tgroup></table>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Data Space Post/Entry/Item Properties (sioc:Post predicates)</bridgehead>
<programlisting>   * has_container
   * has_creator
   * id
   * link
   * topic
</programlisting><para> </para>
<programlisting>prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select distinct ?attribute
where
  {
    ?forum a sioct:AddressBook .
    ?forum sioc:container_of ?post .
    ?post ?attribute ?o  
  }
order by ?attribute
</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+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%0Aselect+distinct+%3Fattribute%0D%0Awhere%0D%0A++%7B%0D%0A++++%3Fforum+a+sioct%3AAddressBook+.%0D%0A++++%3Fforum+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++%3Fpost+%3Fattribute+%3Fo++%0D%0A++%7D%0D%0Aorder+by+%3Fattribute&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of AddressBook Properties list .</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump all properties supported for members imported from Briefcase FOAF uploaded</bridgehead>
 <programlisting>prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
select distinct ?attribute
where
  {
    ?s a sioct:AddressBook;
    sioc:scope_of ?role.
    ?role sioc:function_of ?member.
    ?member ?attribute ?o  
  }
</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+sioct%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Ftypes%23%3E%0D%0Aprefix+sioc%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fns%23%3E%0D%0Aselect+distinct+%3Fattribute%0D%0Awhere%0D%0A++%7B%0D%0A++++%3Fs+a+sioct%3AAddressBook%3B%0D%0A++++sioc%3Ascope_of+%3Frole.%0D%0A++++%3Frole+sioc%3Afunction_of+%3Fmember.%0D%0A++++%3Fmember+%3Fattribute+%3Fo++%0D%0A++%7D&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of AddressBook contact list .</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump all AddressBook&#39;s members</bridgehead>
 <programlisting>prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
select ?member
where 
  {
    ?s a sioct:AddressBook;
    sioc:scope_of ?role.
    ?role sioc:function_of ?member.
    ?member a foaf:Person.        
  }
</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+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+foaf%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0D%0Aselect+%3Fmember%0D%0Awhere+%0D%0A++%7B%0D%0A++++%3Fs+a+sioct%3AAddressBook%3B%0D%0A++++sioc%3Ascope_of+%3Frole.%0D%0A++++%3Frole+sioc%3Afunction_of+%3Fmember.%0D%0A++++%3Fmember+a+foaf%3APerson.++++++++%0D%0A++%7D&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of AddressBook contact list .</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump all AddressBook&#39;s members friends</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
select ?member, ?knows
where
  {
    ?s a sioct:AddressBook;
       sioc:scope_of ?role.
    ?role sioc:function_of ?member.
    ?member a foaf:Person.
    ?member foaf:knows ?knows
  }
</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+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+foaf%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0D%0Aselect+%3Fmember%2C+%3Fknows%0D%0Awhere%0D%0A++%7B%0D%0A++++%3Fs+a+sioct%3AAddressBook%3B%0D%0A++++++sioc%3Ascope_of+%3Frole.%0D%0A++++%3Frole+sioc%3Afunction_of+%3Fmember.%0D%0A++++%3Fmember+a+foaf%3APerson.%0D%0A++++%3Fmember+foaf%3Aknows+%3Fknows%0D%0A++%7D&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of AddressBook contact list .</listitem>
</itemizedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump all AddressBook&#39;s contacts</bridgehead>
 <programlisting>prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix vcd: &lt;http://www.w3.org/2001/vcard-rdf/3.0#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt;
select ?FN ?nick ?address ?title ?created ?link ?topic 
where
  {
    ?forum a sioct:AddressBook .
    ?forum sioc:container_of ?post .
    optional {?post vcd:FN ?FN }.
    optional {?post vcd:NICKNAME ?nick}.
    optional {?post vcd:ADR ?address}.
    optional {?post dct:title ?title}.
    optional {?post dcc:created ?created}.
    optional {?post sioc:link ?link }.
    optional {?post sioc:topic ?topic } .
  }
</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+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+vcd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2Fvcard-rdf%2F3.0%23%3E%0D%0Aprefix+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0Aprefix+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0Aselect+%3FFN+%3Fnick+%3Faddress+%3Ftitle+%3Fcreated+%3Flink+%3Ftopic+%0D%0Awhere%0D%0A++%7B%0D%0A++++%3Fforum+a+sioct%3AAddressBook+.%0D%0A++++%3Fforum+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++optional+%7B%3Fpost+vcd%3AFN+%3FFN+%7D.%0D%0A++++optional+%7B%3Fpost+vcd%3ANICKNAME+%3Fnick%7D.%0D%0A++++optional+%7B%3Fpost+vcd%3AADR+%3Faddress%7D.%0D%0A++++optional+%7B%3Fpost+dct%3Atitle+%3Ftitle%7D.%0D%0A++++optional+%7B%3Fpost+dcc%3Acreated+%3Fcreated%7D.%0D%0A++++optional+%7B%3Fpost+sioc%3Alink+%3Flink+%7D.%0D%0A++++optional+%7B%3Fpost+sioc%3Atopic+%3Ftopic+%7D+.%0D%0A++%7D&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of AddressBook contact list .</listitem>
</itemizedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">List of Web Services (e.g Atom Publishing (SOAP), Moveable Type (XML-RPC) etc.) associated with AddressBook Data Space Instances</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix svc: &lt;http://rdfs.org/sioc/services#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select ?endp , ?proto 
where 
  {
    ?forum a sioct:AddressBook .
    ?forum svc:has_service ?svc .
    ?svc svc:service_endpoint ?endp .
    ?svc svc:service_protocol ?proto .
   }
order by ?proto
</programlisting><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+svc%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fservices%23%3E%0D%0Aprefix+sioct%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Ftypes%23%3E%0D%0Aselect+%3Fendp+%2C+%3Fproto+%0D%0Awhere+%0D%0A++%7B%0D%0A++++%3Fforum+a+sioct%3AAddressBook+.%0D%0A++++%3Fforum+svc%3Ahas_service+%3Fsvc+.%0D%0A++++%3Fsvc+svc%3Aservice_endpoint+%3Fendp+.%0D%0A++++%3Fsvc+svc%3Aservice_protocol+%3Fproto+.%0D%0A+++%7D%0D%0Aorder+by+%3Fproto&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of AddressBook Web Services.</listitem>
</itemizedlist><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Polls Data Space</bridgehead>
 <bridgehead class="http://www.w3.org/1999/xhtml:h4">Key ODS-Polls to SIOC Mappings</bridgehead>

<table><title /><tgroup><thead /><tbody>
<row><entry>ODS</entry><entry>SIOC</entry><entry>Sample Value</entry></row>
<row><entry>Application Instance</entry><entry>rdf:type</entry><entry>sioc:Container</entry></row>
<row><entry>Application Type</entry><entry>rdf:type</entry><entry>sioct:<ulink url="SurveyCollection">SurveyCollection</ulink></entry></row>
<row><entry>Application Instance Name</entry><entry>sioc:id</entry><entry>&quot;<ulink url="http://demo.openlinksw.com/dataspace/demo/polls/mypolls">http://demo.openlinksw.com/dataspace/demo/polls/mypolls</ulink>&quot;</entry></row>
</tbody></tgroup></table>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Data Space Post/Entry/Item Properties (sioc:Post predicates)</bridgehead>
 <programlisting>   * content
   * has_container
   * has_creator
   * id
   * link
   * topic (tags)
</programlisting><programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select distinct ?attribute
where {
        ?forum a sioct:SurveyCollection.
        ?forum sioc:container_of ?post .
        ?post ?attribute ?o  
      }
order by ?attribute
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Polls Posts for a given ODS Member</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt; 
select DISTINCT ?forum_name, ?post, ?title ?cr ?url 
where    { 
           ?forum a sioct:SurveyCollection.
           ?forum sioc:id ?forum_name.
           ?forum sioc:scope_of ?role. 
           ?role sioc:function_of &lt;http://demo.openlinksw.com/dataspace/demo#this&gt; .
           ?forum sioc:container_of ?post. 
           optional{ ?post dct:title ?title }.
           optional{ ?post dcc:created ?cr }.
           optional{ ?post sioc:link ?url }.
         }
order by DESC (?cr)
</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+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+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E+%0D%0Aprefix+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0Aprefix+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E+%0D%0Aselect+DISTINCT+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle+%3Fcr+%3Furl+%0D%0Awhere++++%7B+%0D%0A+++++++++++%3Fforum+a+sioct%3ASurveyCollection.%0D%0A+++++++++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A+++++++++++%3Fforum+sioc%3Ascope_of+%3Frole.+%0D%0A+++++++++++%3Frole+sioc%3Afunction_of+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%2Fdemo%23this%3E+.%0D%0A+++++++++++%3Fforum+sioc%3Acontainer_of+%3Fpost.+%0D%0A+++++++++++optional%7B+%3Fpost+dct%3Atitle+%3Ftitle+%7D.%0D%0A+++++++++++optional%7B+%3Fpost+dcc%3Acreated+%3Fcr+%7D.%0D%0A+++++++++++optional%7B+%3Fpost+sioc%3Alink+%3Furl+%7D.%0D%0A+++++++++%7D%0D%0Aorder+by+DESC+%28%3Fcr%29&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of polls.</listitem>
</itemizedlist><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Photo Gallery Data Space</bridgehead>
 <bridgehead class="http://www.w3.org/1999/xhtml:h4">Key ODS-Photo Gallery to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry>ODS</entry><entry>SIOC</entry><entry>Sample Value</entry></row>
<row><entry>Application Instance</entry><entry>rdf:type</entry><entry>sioc:Container</entry></row>
<row><entry>Application Type</entry><entry>rdf:type</entry><entry>sioct:<ulink url="ImageGallery">ImageGallery</ulink></entry></row>
<row><entry>Application Instance Name</entry><entry>sioc:id</entry><entry>&quot;<ulink url="http://demo.openlinksw.com/dataspace/demo/photos/MyGallery">http://demo.openlinksw.com/dataspace/demo/photos/MyGallery</ulink>&quot;</entry></row><entry /><entry />
</tbody></tgroup></table>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Data Space Post/Entry/Item Properties (sioc:Post predicates)</bridgehead>
 <programlisting>   * content
   * has_container
   * has_creator
   * id
   * link
   * topic (tags)
   * links_to (TBD)
   * reply_of (TBD)
   * has_reply (TBD)
</programlisting><programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select distinct ?attribute
where {
        ?forum rdf:type sioct:ImageGallery .
        ?forum sioc:container_of ?post .
        ?post ?attribute ?o  
      }
order by ?attribute
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Data Space entries for a given ODS Photo Gallery including content.
</bridgehead>
<programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt; 
select ?forum_name, ?post, ?title, ?link, ?cr, ?content
where {
        ?forum rdf:type sioct:ImageGallery .
        ?forum sioc:id ?forum_name.
        ?forum sioc:container_of ?post .
        optional {?post  dct:title ?title }.
        optional {?post dcc:created ?cr}.
        optional {?post sioc:link ?link} .
        optional {?post sioc:content ?content}
      }
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h5">List of Web Services (e.g Atom Publishing (SOAP), Moveable Type (XML-RPC) etc.) associated with Gallery Data Space Instances</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix svc: &lt;http://rdfs.org/sioc/services#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select ?endp , ?proto 
where {
        ?forum a sioct:ImageGallery  .
        ?forum svc:has_service ?svc .
        ?svc svc:service_endpoint ?endp .
        ?svc svc:service_protocol ?proto .
      }
order by ?proto
</programlisting><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+svc%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fservices%23%3E%0D%0Aprefix+sioct%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Ftypes%23%3E%0D%0Aselect+%3Fendp+%2C+%3Fproto+%0D%0Awhere+%7B%0D%0A++++++++%3Fforum+a+sioct%3AImageGallery++.%0D%0A++++++++%3Fforum+svc%3Ahas_service+%3Fsvc+.%0D%0A++++++++%3Fsvc+svc%3Aservice_endpoint+%3Fendp+.%0D%0A++++++++%3Fsvc+svc%3Aservice_protocol+%3Fproto+.%0D%0A++++++%7D%0D%0Aorder+by+%3Fproto&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of gallery images.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Data Space entries for a given ODS Photo Gallery including content and out-bound links</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;  
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt; 
select ?forum_name, ?post, ?title, ?link, ?links_to, ?cr, ?content
where {
        ?forum rdf:type sioct:ImageGallery .
        ?forum sioc:id ?forum_name.
        ?forum sioc:container_of ?post .
        optional {?post  dct:title ?title}.
        optional {?post dcc:created ?cr}.
        optional {?post sioc:link ?link} .
        optional {?post sioc:links_to ?links_to} .  
        optional {?post sioc:content ?content}
      }
</programlisting><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;query=prefix+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%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+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E+%0D%0APREFIX+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E+%0D%0ASELECT+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Flink%2C+%3Fcr%2C+%3Fcontent%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE+%7B%0D%0A++++++++%3Fforum+rdf%3Atype+sioct%3AImageGallery+.%0D%0A++++++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A++++++++%3Fforum+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++++++optional+%7B%3Fpost++dct%3Atitle+%3Ftitle+%7D.%0D%0A++++++++optional+%7B%3Fpost+dcc%3Acreated+%3Fcr%7D.%0D%0A++++++++optional+%7B%3Fpost+sioc%3Alink+%3Flink%7D+.%0D%0A++++++++optional+%7B%3Fpost+sioc%3Acontent+%3Fcontent%7D%0D%0A++++++%7D&amp;format=text%2Fhtml">Here</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of published Photos.</listitem>
</itemizedlist><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> Community (Group Mode) Applications Data Space</bridgehead>
 <bridgehead class="http://www.w3.org/1999/xhtml:h4">Key ODS-Community to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry>ODS</entry><entry>SIOC</entry><entry>Sample Value</entry></row>
<row><entry>Application Instance</entry><entry>rdf:type</entry><entry>sioc:Community</entry></row>
<row><entry>Application Type</entry><entry>rdf:type</entry><entry>sioc:Community</entry></row>
<row><entry>Application Instance Name</entry><entry>sioc:id</entry><entry>&quot;<ulink url="http://demo.openlinksw.com/dataspace/demo/community/demoCommunity">http://demo.openlinksw.com/dataspace/demo/community/demoCommunity</ulink>&quot;</entry></row><entry /><entry />
</tbody></tgroup></table>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Data Space Post/Entry/Item Properties (sioc:Post predicates)</bridgehead>
 <programlisting>   * content
   * has_container
   * has_creator
   * id
   * link
   * links_to
   * topic (tags) 
   * has_reply (TBD)
   * reply_of  (TBD)
</programlisting><programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select distinct ?attribute
where {
        ?forum rdf:type sioc:Community .
        ?forum sioc:has_part ?parentf .
        ?parentf sioc:container_of ?post .
        ?post ?attribute ?o
      }
order by ?attribute
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Data Space entries for a given ODS Community</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
select ?post ?title
where 
  {
    ?forum rdf:type sioc:Community .
    ?forum sioc:has_part ?parentf .
    ?parentf sioc:container_of ?post .
    optional{?post  dct:title ?title} .
  }
</programlisting><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+sioc%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fns%23%3E%0D%0APREFIX+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0ASELECT+%3Fpost+%3Ftitle%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE+%0D%0A++%7B%0D%0A++++%3Fforum+rdf%3Atype+sioc%3ACommunity+.%0D%0A++++%3Fforum+sioc%3Ahas_part+%3Fparentf+.%0D%0A++++%3Fparentf+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++optional%7B%3Fpost++dct%3Atitle+%3Ftitle%7D+.%0D%0A++%7D&amp;format=text%2Fhtml">Here</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of Community Posts.</listitem>
</itemizedlist><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> Briefcase Applications Data Space</bridgehead>
 <bridgehead class="http://www.w3.org/1999/xhtml:h4">Key ODS-Briefcase to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry>ODS</entry><entry>SIOC</entry><entry>Sample Value</entry></row>
<row><entry>Application Instance</entry><entry>rdf:type</entry><entry>sioc:Container</entry></row>
<row><entry>Application Type</entry><entry>rdf:type</entry><entry>sioct:Briefcase</entry></row>
<row><entry>Application Instance Name</entry><entry>sioc:id</entry><entry>&quot;<ulink url="http://demo.openlinksw.com/dataspace/demo/briefcase/demoBriefcase">http://demo.openlinksw.com/dataspace/demo/briefcase/demoBriefcase</ulink>&quot;</entry></row><entry /><entry />
</tbody></tgroup></table>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Data Space Post/Entry/Item Properties (sioc:Post predicates)</bridgehead>
 <programlisting>   * content ( supported for file types: &#39;text/*&#39;);
   * has_container
   * has_creator
   * id
   * link
   * links_to ( supported for file types: &#39;text/html&#39;);
   * topic (tags) 
</programlisting><programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select distinct ?attribute
where 
  {
    ?forum rdf:type sioct:Briefcase .
    ?forum sioc:container_of ?post .
    ?post ?attribute ?o  
  }
order by ?attribute
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">List of Web Services (e.g Atom Publishing (SOAP), Moveable Type (XML-RPC) etc.) associated with Briefcase Data Space Instances</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix svc: &lt;http://rdfs.org/sioc/services#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select ?endp , ?proto 
where {
        ?forum a sioct:Briefcase .
        ?forum svc:has_service ?svc .
        ?svc svc:service_endpoint ?endp .
        ?svc svc:service_protocol ?proto .
      }
order by ?proto
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Dump of all Briefcase Items from special &quot;Public&quot; folder</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt;
select DISTINCT ?forum_name, ?post, ?title, ?cr, ?url, ?links_to
where    {
           ?forum a sioct:Briefcase .
           ?forum sioc:id ?forum_name.
           ?forum sioc:container_of ?post.
           optional { ?post dct:title ?title }.
           optional { ?post dcc:created ?cr }.
           optional { ?post sioc:link ?url }.
           optional { ?post sioc:links_to ?links_to }.
         }
order by DESC (?cr)
</programlisting><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;query=prefix+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%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+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0D%0APREFIX+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0ASELECT+DISTINCT+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Fcr%2C+%3Furl%2C+%3Flinks_to%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE++++%7B%0D%0A+++++++++++%3Fforum+a+sioct%3ABriefcase+.%0D%0A+++++++++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A+++++++++++%3Fforum+sioc%3Acontainer_of+%3Fpost.%0D%0A+++++++++++optional+%7B+%3Fpost+dct%3Atitle+%3Ftitle+%7D.%0D%0A+++++++++++optional+%7B+%3Fpost+dcc%3Acreated+%3Fcr+%7D.%0D%0A+++++++++++optional+%7B+%3Fpost+sioc%3Alink+%3Furl+%7D.%0D%0A+++++++++++optional+%7B+%3Fpost+sioc%3Alinks_to+%3Flinks_to+%7D.%0D%0A+++++++++%7D%0D%0AORDER+BY+DESC+%28%3Fcr%29&amp;format=text%2Fhtml">Here</ulink> for a live SPARQL Query (via SPARQL Protocol) against a collection of Feed Subscriptions.</listitem>
</itemizedlist><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Discussion / Conversation Data Space</bridgehead>
 Each Wiki, Weblog, Feed Manager, Bookmark Manager, Mail, and Photo Gallery, application instance with &quot;Conversation&quot; functionality enabled results in the generation of SIOC instance data from the ODS Discussion Application.
 For example, in the Weblog Data Space this implies that all comments are delegated to the Discussion Data Space application (which is an application of Virtuoso&#39;s NNTP engine) and exposed as SIOC data automatically.
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Key ODS-Discussion to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry>ODS</entry><entry>SIOC</entry><entry>Sample Value</entry></row>
<row><entry>Application Instance (NNTP newsgroup)</entry><entry>rdf:type</entry><entry>sioc:Forum</entry></row>
<row><entry>Application Type</entry><entry>rdf:type</entry><entry>sioct:<ulink url="MessageBoard">MessageBoard</ulink></entry></row>
<row><entry>Application Instance Name</entry><entry>sioc:id</entry><entry>&quot;<ulink url="http://demo.openlinksw.com/dataspace/discussion/">http://demo.openlinksw.com/dataspace/discussion/</ulink>[wiki, blog, etc instances name]&quot;</entry></row><entry /><entry />
</tbody></tgroup></table>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Data Space Post/Entry/Item Properties (sioc:Post predicates)</bridgehead>
 <programlisting>   * content
   * has_container
   * has_reply
   * id
   * link
   * links_to
   * reply_of
   * topic (tags) (TBD)  
   * has_creator: if the creator is not known, the foaf:maker is filled in
</programlisting><para> </para>
<programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
select distinct ?attribute
where {
        ?forum rdf:type sioct:MessageBoard .
        ?forum sioc:container_of ?post .
        ?post ?attribute ?o  
      }
order by ?attribute
</programlisting><programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; 
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt;
select distinct ?forum_name, ?post, ?title, ?mod_time, ?create_time, ?url
where {
        ?forum a sioct:MessageBoard ;
               sioc:id ?forum_name. 
        optional{ ?forum sioc:container_of ?post  } .
        optional{ ?post dct:title ?title } .
        optional{ ?post dcc:modified ?mod_time } .
        optional{ ?post dcc:created ?create_time } .
        optional{ ?post sioc:link ?url } .
      }
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Obtaining a dump of all Posts within a specific ODS-Discussion Data Space that includes discussion content</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt;
select ?forum_name, ?post, ?title, ?mod_time, ?create_time, ?url, ?content
where {
        ?forum a sioct:MessageBoard ;
                    sioc:id ?forum_name FILTER REGEX(?forum_name,&quot;.*demo*.&quot;). 
        optional{ ?forum sioc:container_of ?post  } .
        optional{ ?post dct:title ?title } .
        optional{ ?post dcc:modified ?mod_time } .
        optional{ ?post dcc:created ?create_time } .
        optional{ ?post sioc:link ?url } .
        optional{ ?post sioc:content ?content}.
      }
</programlisting><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+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+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0ASELECT+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Fmod_time%2C+%3Fcreate_time%2C+%3Furl%2C+%3Fcontent%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE+%7B%0D%0A++++++++%3Fforum+a+sioct%3AMessageBoard+%3B%0D%0A++++++++++++++++++++sioc%3Aid+%3Fforum_name+FILTER+REGEX%28%3Fforum_name%2C%22.*demo*.%22%29.+%0D%0A++++++++optional%7B+%3Fforum+sioc%3Acontainer_of+%3Fpost++%7D+.%0D%0A++++++++optional%7B+%3Fpost+dct%3Atitle+%3Ftitle+%7D+.%0D%0A++++++++optional%7B+%3Fpost+dcc%3Amodified+%3Fmod_time+%7D+.%0D%0A++++++++optional%7B+%3Fpost+dcc%3Acreated+%3Fcreate_time+%7D+.%0D%0A++++++++optional%7B+%3Fpost+sioc%3Alink+%3Furl+%7D+.%0D%0A++++++++optional%7B+%3Fpost+sioc%3Acontent+%3Fcontent%7D.%0D%0A++++++%7D&amp;format=text%2Fhtml">Here</ulink> for a live SPARQL Query (via SPARQL Protocol) against an ODS Discussion Data Space.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h4">Dump of Blog Posts with &quot;Conversation&quot; Feature Enabled</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt;
select distinct ?forum_name, ?post, ?title, ?mod_time, ?create_time, ?url
where {
        ?forum rdf:type sioct:MessageBoard.
        optional{ ?forum sioc:id ?forum_name. FILTER REGEX(?forum_name,&quot;.*demo*.&quot;) }.
        optional{ ?forum sioc:container_of ?post  } .
        optional{ ?post dct:title ?title } .
        optional{ ?post dcc:modified ?mod_time } .
        optional{ ?post dcc:created ?create_time } .
        optional{ ?post sioc:link ?url } .
      }
</programlisting><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+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+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0ASELECT+distinct+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Fmod_time%2C+%3Fcreate_time%2C+%3Furl%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE+%7B%0D%0A++++++++%3Fforum+rdf%3Atype+sioct%3AMessageBoard.%0D%0A++++++++optional%7B+%3Fforum+sioc%3Aid+%3Fforum_name.+FILTER+REGEX%28%3Fforum_name%2C%22.*demo*.%22%29+%7D.%0D%0A++++++++optional%7B+%3Fforum+sioc%3Acontainer_of+%3Fpost++%7D+.%0D%0A++++++++optional%7B+%3Fpost+dct%3Atitle+%3Ftitle+%7D+.%0D%0A++++++++optional%7B+%3Fpost+dcc%3Amodified+%3Fmod_time+%7D+.%0D%0A++++++++optional%7B+%3Fpost+dcc%3Acreated+%3Fcreate_time+%7D+.%0D%0A++++++++optional%7B+%3Fpost+sioc%3Alink+%3Furl+%7D+.%0D%0A++++++%7D&amp;format=text%2Fhtml">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) against an ODS Discussion Data Space</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h4">Dump of Wiki Posts with &quot;Conversation&quot; Feature Enabled</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt;
select distinct ?forum_name, ?post, ?title, ?mod_time, ?create_time, ?url
where {
        ?forum rdf:type sioct:MessageBoard ;
               sioc:id ?forum_name FILTER REGEX(?forum_name,&quot;.*mywiki*.&quot;).
        optional{ ?forum sioc:container_of ?post  } .
        optional{ ?post dct:title ?title } .
        optional{ ?post dcc:modified ?mod_time } .
        optional{ ?post dcc:created ?create_time } .
        optional{ ?post sioc:link ?url } .
      }
</programlisting><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+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+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0ASELECT+distinct+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Fmod_time%2C+%3Fcreate_time%2C+%3Furl%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE+%7B%0D%0A++++++++%3Fforum+rdf%3Atype+sioct%3AMessageBoard+%3B%0D%0A+++++++++++++++sioc%3Aid+%3Fforum_name+FILTER+REGEX%28%3Fforum_name%2C%22.*mywiki*.%22%29.%0D%0A++++++++optional%7B+%3Fforum+sioc%3Acontainer_of+%3Fpost++%7D+.%0D%0A++++++++optional%7B+%3Fpost+dct%3Atitle+%3Ftitle+%7D+.%0D%0A++++++++optional%7B+%3Fpost+dcc%3Amodified+%3Fmod_time+%7D+.%0D%0A++++++++optional%7B+%3Fpost+dcc%3Acreated+%3Fcreate_time+%7D+.%0D%0A++++++++optional%7B+%3Fpost+sioc%3Alink+%3Furl+%7D+.%0D%0A++++++%7D&amp;format=text%2Fhtml">*Here*</ulink> a live SPARQL Query (via SPARQL Protocol) against an ODS Discussion Data Space specifically scoped to discussions associated with a named Wiki: mywiki</listitem>
</itemizedlist><ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> Generic Data Space Queries</bridgehead>
<para>These SPARQL queries join data across serveral ODS data spaces.</para>
<ulink url="">
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Data for analyzing Tags associated with Posts that also demonstrates the use of the SKOS ontology for describing Post topics (tags)</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix skos: &lt;http://www.w3.org/2004/02/skos/core#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix dc: &lt;http://purl.org/dc/elements/1.1/&gt;
select ?title, ?tag, ?topic 
where  
  {
    ?s a sioc:Item. 
    optional { ?s dc:title ?title }.
    ?s sioc:id ?id .
    optional { ?s sioc:topic ?topic .
                   ?topic rdf:type skos:Concept .
                   ?topic skos:prefLabel ?tag }
  }
</programlisting><para> </para>
<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+skos%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%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+dc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0ASELECT+%3Ftitle%2C+%3Ftag%2C+%3Ftopic+%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE++%7B%0D%0A+++++++++++++++++%3Fs+a+sioc%3AItem.+%0D%0A+++++++++++++++++optional+%7B+%3Fs+dc%3Atitle+%3Ftitle+%7D.%0D%0A+++++++++++++++++%3Fs+sioc%3Aid+%3Fid+.%0D%0A+++++++++++++++++optional+%7B+%3Fs+sioc%3Atopic+%3Ftopic+.%0D%0A++++++++++++++++++++++++++++++++%3Ftopic+rdf%3Atype+skos%3AConcept+.%0D%0A++++++++++++++++++++++++++++++++%3Ftopic+skos%3AprefLabel+%3Ftag+%7D%0D%0A+++++++++++++%7D&amp;format=text%2Fhtml">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) version of this query.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h4">People Network Construction that integrates data from both the FOAF and SKOS ontologies</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt;
prefix dct: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcc: &lt;http://purl.org/dc/terms/&gt;
prefix skos: &lt;http://www.w3.org/2004/02/skos/core#&gt;
prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
select DISTINCT ?forum_name, ?post, ?title, ?cr, ?url, ?links_to, ?tag, ?nick, ?gender, ?org, ?geodata
where    {
           ?forum a sioct:Weblog .
           ?forum sioc:id ?forum_name.
           optional {?forum sioc:scope_of ?role } . 
           optional { ?role sioc:function_of &quot;&lt;http://demo.openlinksw.com/dataspace/demo#this&gt;&quot; } . 
           ?forum sioc:container_of ?post.
           optional { ?post dct:title ?title.
                          ?post dcc:created ?cr.
                          ?post sioc:link ?url.
                          ?post sioc:links_to ?links_to.
                          ?post foaf:maker ?maker } .
           optional { ?maker foaf:nick ?nick  } .
           optional { ?maker foaf:name ?fname } . 
           optional { ?maker foaf:gender ?gender } . 
           optional { ?maker foaf:based_near ?geodata } . 
           optional { ?maker foaf:organization ?org } . 
           optional {?post sioc:topic ?topic . 
                        ?topic rdf:type skos:Concept . 
                        ?topic skos:prefLabel ?tag }
         }
</programlisting><para> </para>
<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+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+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0D%0Aprefix+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0Aprefix+dcc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0Aprefix+skos%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E%0D%0Aprefix+foaf%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0D%0Aselect+DISTINCT+%3Fforum_name%2C+%3Fpost%2C+%3Ftitle%2C+%3Fcr%2C+%3Furl%2C+%3Flinks_to%2C+%3Ftag%2C+%3Fnick%2C+%3Fgender%2C+%3Forg%2C+%3Fgeodata%0D%0Awhere++++%7B%0D%0A+++++++++++%3Fforum+a+sioct%3AWeblog+.%0D%0A+++++++++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A+++++++++++optional+%7B%3Fforum+sioc%3Ascope_of+%3Frole+%7D+.+%0D%0A+++++++++++optional+%7B+%3Frole+sioc%3Afunction_of+%22%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%2Fdemo%23this%3E%22+%7D+.+%0D%0A+++++++++++%3Fforum+sioc%3Acontainer_of+%3Fpost.%0D%0A+++++++++++optional+%7B+%3Fpost+dct%3Atitle+%3Ftitle.%0D%0A++++++++++++++++++++++++++%3Fpost+dcc%3Acreated+%3Fcr.%0D%0A++++++++++++++++++++++++++%3Fpost+sioc%3Alink+%3Furl.%0D%0A++++++++++++++++++++++++++%3Fpost+sioc%3Alinks_to+%3Flinks_to.%0D%0A++++++++++++++++++++++++++%3Fpost+foaf%3Amaker+%3Fmaker+%7D+.%0D%0A+++++++++++optional+%7B+%3Fmaker+foaf%3Anick+%3Fnick++%7D+.%0D%0A+++++++++++optional+%7B+%3Fmaker+foaf%3Aname+%3Ffname+%7D+.+%0D%0A+++++++++++optional+%7B+%3Fmaker+foaf%3Agender+%3Fgender+%7D+.+%0D%0A+++++++++++optional+%7B+%3Fmaker+foaf%3Abased_near+%3Fgeodata+%7D+.+%0D%0A+++++++++++optional+%7B+%3Fmaker+foaf%3Aorganization+%3Forg+%7D+.+%0D%0A+++++++++++optional+%7B%3Fpost+sioc%3Atopic+%3Ftopic+.+%0D%0A++++++++++++++++++++++++%3Ftopic+rdf%3Atype+skos%3AConcept+.+%0D%0A++++++++++++++++++++++++%3Ftopic+skos%3AprefLabel+%3Ftag+%7D%0D%0A+++++++++%7D&amp;format=text%2Fhtml&amp;debug=on">*Here*</ulink> for a live SPARQL Query (via SPARQL Protocol) version of this query.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h4">People Network Construction using data from Post Comments</bridgehead>
<programlisting>prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
prefix xsd:   &lt;http://www.w3.org/2001/XMLSchema#&gt;
prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix dc: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcterms: &lt;http://purl.org/dc/terms/&gt;
select DISTINCT ?post, ?post_sioc, ?post_author, ?post_title, ?post_date, ?reply
where {
    ?post sioc:has_creator ?_x .
    ?_x sioc:id ?post_author .
    optional { ?post rdfs:seeAlso ?post_sioc } .
    optional { ?post sioc:has_reply ?reply } .
    optional { ?post dcterms:created ?post_date } .
    optional { ?post dc:title ?post_title }
}
</programlisting><para> Click <ulink url="http://demo.openlinksw.com/sparql?default-graph-uri=http%3A%2F%2Fdemo.openlinksw.com%2Fdataspace&amp;should-sponge=&amp;query=prefix+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+foaf%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0D%0APREFIX+xsd%3A+++%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0D%0APREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0D%0APREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0APREFIX+dc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+dcterms%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0ASELECT+DISTINCT+%3Fpost%2C+%3Fpost_sioc%2C+%3Fpost_author%2C+%3Fpost_title%2C+%3Fpost_date%2C+%3Freply%0D%0AFROM+%3Chttp%3A%2F%2Fdemo.openlinksw.com%2Fdataspace%3E%0D%0AWHERE+%7B%0D%0A++++%3Fpost+sioc%3Ahas_creator+%3F_x+.%0D%0A++++%3F_x+sioc%3Aid+%3Fpost_author+.%0D%0A++++optional+%7B+%3Fpost+rdfs%3AseeAlso+%3Fpost_sioc+%7D+.%0D%0A++++optional+%7B+%3Fpost+sioc%3Ahas_reply+%3Freply+%7D+.%0D%0A++++optional+%7B+%3Fpost+dcterms%3Acreated+%3Fpost_date+%7D+.%0D%0A++++optional+%7B+%3Fpost+dc%3Atitle+%3Fpost_title+%7D%0D%0A%7D&amp;format=text%2Fhtml">Here</ulink> for a live SPARQL Query (via SPARQL Protocol) version of this query.</para>
<ulink url="">
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Using SPARQL CONSTRUCT to Export SIOC based RDF Data Sets</bridgehead>
 CONSTRUCT based SPARQL queries are very useful when trying to expose RDF (via a SPARQL Endpoint) to RDF Data Set consumers that do not support SPARQL.
 In a sense, the SPARQL CONSTRUCT statements as part of a SPARQL Protocol payload deliver a Data Web (Web 3.0) Experience to Interactive-Web Clients (Web 1.0).<bridgehead class="http://www.w3.org/1999/xhtml:h4">People Network returned as an RDF Graph</bridgehead>
 <programlisting>prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
prefix xsd:   &lt;http://www.w3.org/2001/XMLSchema#&gt;
prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix dc: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcterms: &lt;http://purl.org/dc/terms/&gt;

CONSTRUCT
{
 ?post sioc:has_creator ?_x .
 ?_x sioc:id ?post_author .
 ?post rdfs:seeAlso ?post_sioc .
 ?post sioc:has_reply ?reply .
 ?post dcterms:created ?post_date .
 ?post dc:title ?post_title .
}
where {
    ?post sioc:has_creator ?_x .
    ?_x sioc:id ?post_author .
    optional{ ?post rdfs:seeAlso ?post_sioc } .
    optional{ ?post sioc:has_reply ?reply } .
    optional{ ?post dcterms:created ?post_date } .
    optional{ ?post dc:title ?post_title }
}
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Discussions posts details returned as an RDF Graph</bridgehead>
 <programlisting>prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix dcterms: &lt;http://purl.org/dc/terms/&gt;
CONSTRUCT
{
?post dcterms:created ?created .
?post sioc:link ?link .
?post sioc:title ?title .
}
where
  {
    ?forum a sioct:MessageBoard .
    ?post sioc:has_container ?forum .
    optional { ?post dcterms:created ?created } .
    optional { ?post sioc:link ?link } .
    optional { ?post sioc:title ?title }
  }
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">List of all registered Dataspace members&#39;s home pages URLs returned as an RDF Graph</bridgehead>
 <programlisting>prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
CONSTRUCT
{
 ?x rdf:type sioc:User . 
}
where
{
  ?x rdf:type sioc:User . 
}
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Gallery images details for user &quot;demo&quot; returned as an RDF Graph</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix skos: &lt;http://www.w3.org/2004/02/skos/core#&gt;  
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt;
prefix dc: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcterms: &lt;http://purl.org/dc/terms/&gt;
CONSTRUCT
{
  ?post dc:title ?title .
  ?post sioc:link ?link .
  ?post sioc:links_to ?links_to .
  ?post sioc:topic ?topic .
  ?post dcterms:created ?cr 
}
where 
{
  ?post rdf:type sioc:Item .
  optional { ?post dc:title ?title } .
  optional { ?post sioc:link ?link } . 
  optional { ?post sioc:links_to ?links_to } .
  optional { ?post dcterms:created ?cr } .
  optional { ?post sioc:topic ?topic }.
  optional { ?topic skos:prefLabel ?tag }.
  ?post sioc:has_container ?forum .
  ?forum a sioct:ImageGallery  .
  ?forum sioc:scope_of ?role. 
  ?role sioc:function_of ?member.
  ?member sioc:id &quot;demo&quot; 
}
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h3"> Community posts title and date details returned as an RDF Graph</bridgehead>
 <programlisting>prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt;
prefix sioct: &lt;http://rdfs.org/sioc/types#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt;
prefix dc: &lt;http://purl.org/dc/elements/1.1/&gt;
prefix dcterms: &lt;http://purl.org/dc/terms/&gt;
CONSTRUCT
{
  ?post dc:title ?title .
  ?post dcterms:created ?date 
}
where 
{
  ?forum rdf:type sioc:Community .
  ?forum sioc:has_part ?parentf .
  ?parentf sioc:container_of ?post .
  optional { ?post dc:title ?title } .
  optional { ?post dcterms:created ?date } .
}
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h2">References</bridgehead>
 <ulink url="">
 <bridgehead class="http://www.w3.org/1999/xhtml:h3">Learn More</bridgehead>
 <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="ODSAtomOWLRef">Query ODS Data Spaces using SPARQL and Atom OWL Ontology</ulink> </listitem>
<listitem><ulink url="ODSSKOSRef">Query ODS Data Spaces using SPARQL and SKOS Ontology</ulink> </listitem>
<listitem><ulink url="ODSFOAFRef">Query ODS Data Spaces using SPARQL and FOAF Ontology</ulink> </listitem>
<listitem><ulink url="ODSAnnoteaRef">Query ODS Data Spaces using SPARQL and Annotea Ontology</ulink> </listitem>
<listitem><ulink url="VOSODSSparqlSamples">ODS SPARQL Samples</ulink> </listitem>
<listitem><ulink url="NorthWindREF">Northwind SPARQL Reference</ulink> </listitem>
<listitem><ulink url="SIOCRefTutorial">Query Virtuoso Tutorials using SPARQL</ulink> </listitem>
<listitem><ulink url="SIOCRefDocs">Query Virtuoso Documentation using SPARQL</ulink> </listitem>
<listitem><ulink url="WordPressSIOCRef">WordPress SIOC Reference</ulink> </listitem>
<listitem><ulink url="MediaWikiSIOCRef">MedaWiki SIOC Reference</ulink> </listitem>
<listitem><ulink url="PHPBB3SIOCRef">PHPBB SIOC Reference</ulink> </listitem>
<listitem><ulink url="DrupalSIOCRef">Drupal SIOC Reference</ulink></listitem>
</itemizedlist><para> <ulink url="">
 </ulink></para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Specs</bridgehead>
 <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://www.w3.org/TR/rdf-sparql-query/">SPARQL - Query Language</ulink> </listitem>
<listitem><ulink url="http://www.w3.org/TR/rdf-sparql-protocol/">SPARQL - Protocol</ulink> </listitem>
<listitem><ulink url="http://www.w3.org/TR/rdf-sparql-XMLres/">SPARQL - XML based Results Format</ulink> <ulink url="">
 </ulink></listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">FAQs</bridgehead>
 <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://thefigtrees.net/lee/sw/sparql-faq">SPARQL FAQ - Lee Feigenbaum</ulink> <ulink url="">
 </ulink></listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">Presentations</bridgehead>
 <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://www.w3.org/2004/Talks/17Dec-sparql/intro/all.html">SPARQL Introduction</ulink> - Dave Beckett, XTech 2004 </listitem>
<listitem><ulink url="http://www.dajobe.org/talks/200603-sparql-stanford/">SPARQL Introduction</ulink> - <ulink url="http://www.dajobe.org/">Dave Beckett</ulink>, Standford University Presentation </listitem>
<listitem><ulink url="http://xtech06.usefulinc.com/schedule/paper/61">SPARQL Query Protocol presentation at XTech 2006</ulink> by Leigh Dodds </listitem>
<listitem><ulink url="http://www.w3.org/2006/Talks/0518-SPASQL/">SPASQL</ulink> - Initiative to add SPARQL to <ulink url="MySQL">MySQL</ulink> <ulink url="">
 </ulink></listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">Tutorials</bridgehead>
 <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://clarkparsia.com/weblog/2006/08/30/sparql-tutorial-slides/">SPARQL Tutorial</ulink> - Clark+Prasia &amp; University of Manchester Tutorial </listitem>
<listitem><ulink url="http://jena.sourceforge.net/ARQ/Tutorial/">Jena SPARQL Tutorial</ulink></listitem>
</itemizedlist><para><ulink url="CategoryRDF">CategoryRDF</ulink> <ulink url="CategorySIOC">CategorySIOC</ulink> <ulink url="CategorySPARQL">CategorySPARQL</ulink></para>
<para> </para>
</ulink></ulink></ulink></ulink></ulink></ulink></ulink></ulink></ulink></ulink></ulink></ulink></ulink></ulink></ulink></section></docbook>