<docbook><section><title>DrupalSIOCRef</title><bridgehead class="http://www.w3.org/1999/xhtml:h2">Drupal SIOC Reference</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">What is it about?</bridgehead>
<para>Drupal is a content management framework, content management system and blogging engine.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Why is it important?</bridgehead>
<para>Unified Storage of heterogenous data originating from a variety of moduls and associated protocols that is exposed as RDF instance data.
 Thus, benefits include:</para>
<itemizedlist mark="bullet" spacing="compact"><listitem>SPARQL access to Drupal data via a SPARQL Endpoint</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">How can one use this feature?</bridgehead>
 <itemizedlist mark="bullet" spacing="compact"><listitem>Obtain an Open Source of Commercial Edition of Virtuoso ( <emphasis>enable PHP Hosting Support during installation</emphasis>) </listitem>
<listitem>Obtain the drupal-1.10.tgz file from Patrick.
</listitem>
<listitem>Go to http://<span style="color: red">
      UNKNOWN tag:
      http://www.w3.org/1999/xhtml:domain:[port]/drupal </span></listitem>
<listitem>Use Drupal as per usual </listitem>
<listitem>Query SPARQL Data via the endpoint: http://<span style="color: red">
      UNKNOWN tag:
      http://www.w3.org/1999/xhtml:domain:[port]/drupal using RDF Data Source URI (Named Graph): http://:[port]/drupal_v (Virtual Graph)</span></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="DrupalSIOCRef/Drupal_rdf_views_script.sql">Drupal <emphasis>rdf_views_script.sql</emphasis></ulink> or view the online version <ulink url="VirtRDFViewDrupal">here</ulink>.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">Can I See This In Action Anywhere?</bridgehead>
 <itemizedlist mark="bullet" spacing="compact"><listitem>Available demo you can find at the following location: <ulink url="http://demo.openlinksw.com/drupal/">http://demo.openlinksw.com/drupal/</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>.
</listitem>
<listitem>For the database located at <ulink url="http://demo.openlinksw.com/drupal/,">http://demo.openlinksw.com/drupal/,</ulink> you should use the following virtual graph URI: <ulink url="http://demo.openlinksw.com/drupal_v.">http://demo.openlinksw.com/drupal_v.</ulink></listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">Using Virtual Graph URI: <ulink url="http://demo.openlinksw.com/drupal_v">http://demo.openlinksw.com/drupal_v</ulink></bridgehead>
 <bridgehead class="http://www.w3.org/1999/xhtml:h3">Key Drupal to SIOC Mappings</bridgehead>
 
<table><title /><tgroup><thead /><tbody>
<row><entry> Drupal </entry><entry> SIOC	</entry><entry> Sample Value </entry></row>
<row><entry>Users</entry><entry>rdf:type</entry><entry>sioc:User</entry></row>
<row><entry>Feeds</entry><entry>rdf:type</entry><entry>atomrdf:Feed</entry></row>
<row><entry>Feeds Items</entry><entry>rdf:type</entry><entry>atomrdf:Entry</entry></row>
</tbody></tgroup></table>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="DrupalREFExample1">Dump of all Drupal users</ulink> </listitem>
<listitem><ulink url="DrupalREFExample2">Dump of all Drupal Feeds Posts</ulink></listitem>
</itemizedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">Reference</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="VirtRDFViewDrupal">Drupal RDF Views</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/dataspace/dav/wiki/ODS/OdsIntegrationDrupal">Drupal 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="WordPressSIOCRef">WordPress SIOC Reference</ulink> </listitem>
<listitem><ulink url="MediaWikiSIOCRef">MedaWiki SIOC Reference</ulink> </listitem>
<listitem><ulink url="PHPBB3SIOCRef">PHPBB SIOC Reference</ulink></listitem>
</itemizedlist><para><ulink url="CategoryRDF">CategoryRDF</ulink> <ulink url="CategoryVirtuoso">CategoryVirtuoso</ulink></para>
</section></docbook>