%VOSNAV% %TOC% #MediaWiki ---++ MediaWiki SIOC Reference ---+++What is it about? By hosting Mediawiki in Virtuoso, you gain integration of your data, both in its existing wiki form, with the ability to manage Talk Pages as NNTP groups, or map the MediaWiki data to the SIOC ontology for the purpose of constructing [[SPARQL]] queries against MediaWiki articles and discussion comments. ---+++Why is it important? Treating Mediawiki as a repository of semantically marked-up data allows constructing [[SPARQL]] Queries thereby offering a powerful search feature through mapping the data to the SIOC ontology. ---+++How can one use this feature? * You can find a working demonstration at the following location: http://demo.openlinksw.com/mediawiki/ * You can run the queries below or your own created ones using the [[http://demo.openlinksw.com/sparql][Virtuoso SPARQL query page]] and you should use the following Graph(s) URI: 1. Virtual Graph URI: http://host:port/mw_v. * For example: http://demo.openlinksw.com/mw_v * Note: Default Graph URI value used in the queries below is: http://demo.openlinksw.com/mw_v 2. Physical Graph URI: not supported for now. ---+++What are the Linked Data Views supported? * MediaWiki_rdf_views_script.sql or view the online version [[VirtRDFViewMediaWiki][here]]. ---+++Key MediaWiki to SIOC Mappings | MediaWiki | SIOC | Sample Value | | Only 1 Wiki Instance | rdf:type | sioc:Container | | Instance Type | rdf:type | sioct:Wiki| | Instance link | sioc:link | "http://demo.openlinksw.com/mediawiki"| * [[MediaWikiREFExample1][Dump of all MediaWiki articles]] * [[MediaWikiREFExample2][Dump of MediaWiki General Info]] * [[MediaWikiREFExample3][Dump of MediaWiki Users details]] ---+++Using SPARQL CONSTRUCT to Export SIOC-based RDF Data Sets 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). * [[MediaWikiREFExample4][List of all registered MediaWiki members returned as an RDF Graph]] ---++Reference * [[VirtRDFViewMediaWiki][MediaWiki Linked Data Views]] * [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/OdsIntegrationMediaWiki][MediaWiki 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]] * [[PHPBB3SIOCRef][phpBB SIOC Reference]] * [[DrupalSIOCRef][Drupal SIOC Reference]] CategoryRDF CategorySIOC CategorySPARQL CategoryWiki %VOSCOPY%