<docbook><section><title>WordPressSIOCRef</title><para>  </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">WordPress SIOC Reference</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">What is it about?</bridgehead>
<para>This article outlines the integration of data from WordPress into Virtuoso, allowing interaction through NNTP (for comments), and mapping WordPress data to the SIOC ontology for the purpose of constructing <ulink url="SPARQL">SPARQL</ulink> Queries against WordPress Weblog posts, comments, user and group data.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Why is it important?</bridgehead>
<para>Not only does the cross-protocol integration with NNTP allow another angle of input from users of legacy newsreaders, but constructing <ulink url="SPARQL">SPARQL</ulink> Queries offers a powerful feature of viewing the mapped to the SIOC ontology current WordPress data.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">How does one use this feature?</bridgehead>
 <itemizedlist mark="bullet" spacing="compact"><listitem>There is an online demonstration at <ulink url="http://demo.openlinksw.com/wordpress/.">http://demo.openlinksw.com/wordpress/.</ulink> </listitem>
<listitem>You can run the queries below or your own created ones using the <ulink url="http://demo.openlinksw.com/sparql">Virtuoso SPARQL query page</ulink> and you should use the following Graph(s) URI: <ulink url="http://demo.openlinksw.com/wpl_v">http://demo.openlinksw.com/wpl_v</ulink></listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">What are the RDF Views supported?</bridgehead>
 <itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="WordPressSIOCRef/WordPress_rdf_views_script.sql">WordPress_rdf_views_script.sql</ulink> or view the online version <ulink url="VirtRDFViewWordpress">here</ulink>.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">Key WP to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry> WP  </entry><entry> SIOC	</entry><entry> Sample Value </entry></row>
<row><entry> Only one Weblog Instance  </entry><entry> rdf:type </entry><entry> sioc:Container </entry></row>
<row><entry> Instance Type </entry><entry> rdf:type </entry><entry> sioct:Weblog </entry></row>
<row><entry> Instance Description </entry><entry> sioc:description </entry><entry> &quot;Just another WordPress weblog&quot; </entry></row>
</tbody></tgroup></table>
<para> </para>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="WordPressREFExample1">Data Space Post/Entry/Item Properties (sioc:Post predicates)</ulink> </listitem>
<listitem><ulink url="WordPressREFExample2">Dump of all <span style="color: red">
      UNKNOWN tag:
      http://www.w3.org/1999/xhtml:nowikiWordPress</span> Posts</ulink> </listitem>
<listitem><ulink url="WordPressREFExample3">Dump of all <span style="color: red">
      UNKNOWN tag:
      http://www.w3.org/1999/xhtml:nowikiWordPress</span> Users details</ulink> </listitem>
<listitem><ulink url="WordPressREFExample4">Dump of all <span style="color: red">
      UNKNOWN tag:
      http://www.w3.org/1999/xhtml:nowikiWordPress</span> Weblog details</ulink></listitem>
</itemizedlist><para> </para>
<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).<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="WordPressREFExample5">List of all registered <span style="color: red">
      UNKNOWN tag:
      http://www.w3.org/1999/xhtml:nowikiWordPress</span> members returned as an RDF Graph</ulink></listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2">Reference</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="VirtRDFViewWordpress">WordPress RDF Views</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/dataspace/dav/wiki/ODS/OdsIntegrationWordPress">WordPress Installation Guide</ulink></listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">See also</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSSIOCRef">ODS SIOC reference</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSAtomOWLRef">Query ODS Data Spaces using SPARQL and Atom OWL Ontology</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSSKOSRef">Query ODS Data Spaces using SPARQL and SKOS Ontology</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSFOAFRef">Query ODS Data Spaces using SPARQL and FOAF Ontology</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSAnnoteaRef">Query ODS Data Spaces using SPARQL and Annotea Ontology</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/dataspace/dav/wiki/ODS/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="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="CategoryRDF">CategoryRDF</ulink> <ulink url="CategorySIOC">CategorySIOC</ulink> <ulink url="CategorySPARQL">CategorySPARQL</ulink></para>
<para> </para>
</section></docbook>