%TOC%
---++Drupal SIOC Reference
---+++What is it about?
Drupal is a content management framework, content management system and blogging engine.
---+++Why is it important?
Unified Storage of heterogenous data originating from a variety of moduls and associated protocols that is exposed as RDF instance data. Thus, benefits include:
* SPARQL access to Drupal data via a SPARQL Endpoint
---+++How can one use this feature?
* Obtain an Open Source of Commercial Edition of Virtuoso (*enable PHP Hosting Support during installation*)
* Obtain the drupal-1.10.tgz file from Patrick.
* Go to http://:[port]/drupal
* Use Drupal as per usual
* Query SPARQL Data via the endpoint: http://:[port]/drupal using RDF Data Source URI (Named Graph): http://:[port]/drupal_v (Virtual Graph)
---+++What are the RDF Views supported?
* Drupal_rdf_views_script.sql or view the online version [[VirtRDFViewDrupal][here]].
---+++Can I See This In Action Anywhere?
* Available demo you can find at the following location: http://demo.openlinksw.com/drupal/
* You can run the queries below or your own created ones using the [[http://demo.openlinksw.com/sparql][Virtuoso SPARQL query page]].
* For the database located at http://demo.openlinksw.com/drupal/, you should use the following virtual graph URI: http://demo.openlinksw.com/drupal_v.
---+++Using Virtual Graph URI: http://demo.openlinksw.com/drupal_v
--+++Key Drupal to SIOC Mappings
| Drupal | SIOC | Sample Value |
|Users|rdf:type|sioc:User|
|Feeds|rdf:type|atomrdf:Feed|
|Feeds Items|rdf:type|atomrdf:Entry|
* [[DrupalREFExample1][Dump of all Drupal users]]
* [[DrupalREFExample2][Dump of all Drupal Feeds Posts]]
---++Reference
* [[VirtRDFViewDrupal][Drupal RDF Views]]
* [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/OdsIntegrationDrupal][Drupal Installation Guide]]
---+++See also
* [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSSIOCRef][ODS SIOC reference]]
* [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSAtomOWLRef][Query ODS Data Spaces using SPARQL and Atom OWL Ontology]]
* [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSSKOSRef][Query ODS Data Spaces using SPARQL and SKOS Ontology]]
* [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSFOAFRef][Query ODS Data Spaces using SPARQL and FOAF Ontology]]
* [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSAnnoteaRef][Query ODS Data Spaces using SPARQL and Annotea Ontology]]
* [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/VOSODSSparqlSamples][ODS SPARQL Samples]]
* [[NorthWindREF][Northwind SPARQL Reference]]
* [[SIOCRefTutorial][Query Virtuoso Tutorials using SPARQL]]
* [[SIOCRefDocs][Query Virtuoso Documentation using SPARQL]]
* [[WordPressSIOCRef][WordPress SIOC Reference]]
* [[MediaWikiSIOCRef][MedaWiki SIOC Reference]]
* [[PHPBB3SIOCRef][PHPBB SIOC Reference]]
CategoryRDF CategoryVirtuoso