WordPressSIOCRef WordPress SIOC Reference What is it about? 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 SPARQL Queries against WordPress Weblog posts, comments, user and group data. Why is it important? Not only does the cross-protocol integration with NNTP allow another angle of input from users of legacy newsreaders, but constructing SPARQL Queries offers a powerful feature of viewing the mapped to the SIOC ontology current WordPress data. How does one use this feature? There is an online demonstration at http://demo.openlinksw.com/wordpress/. You can run the queries below or your own created ones using the Virtuoso SPARQL query page and you should use the following Graph(s) URI: http://demo.openlinksw.com/wpl_v What are the RDF Views supported? WordPress_rdf_views_script.sql or view the online version here. Key WP to SIOC Mappings <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> "Just another WordPress weblog" </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>