This HTML5 document contains 38 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n14http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
dchttp://purl.org/dc/elements/1.1/
n16http://semantic-mediawiki.org/wiki/
n8http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n15http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n6http://vos.openlinksw.com/dataspace/person/dav#
n19http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtDeploSemanticMediaWiki/sioc.
n4http://vos.openlinksw.com/wiki/main/VOS/VirtDeploSemanticMediaWiki/success.
n7http://vos.openlinksw.com/dataspace/owiki/wiki/
n11http://vos.openlinksw.com/wiki/main/VOS/VirtDeploSemanticMediaWiki/InitTables.
n12http://semantic-mediawiki.org/wiki/Help:
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n13http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n17http://vos.openlinksw.com/dataspace/%28NULL%29/wiki/VOS/
n23http://vos.openlinksw.com/dataspace/person/owiki#
n24http://vos.openlinksw.com/wiki/main/VOS/VirtDeploSemanticMediaWiki/Special.
siochttp://rdfs.org/sioc/ns#
Subject Item
n6:this
foaf:made
n2:VirtDeploSemanticMediaWiki
Subject Item
n8:this
sioc:creator_of
n2:VirtDeploSemanticMediaWiki
Subject Item
n14:item
n15:services_of
n2:VirtDeploSemanticMediaWiki
Subject Item
n13:this
sioc:creator_of
n2:VirtDeploSemanticMediaWiki
Subject Item
n7:VOS
sioc:container_of
n2:VirtDeploSemanticMediaWiki
atom:entry
n2:VirtDeploSemanticMediaWiki
atom:contains
n2:VirtDeploSemanticMediaWiki
Subject Item
n2:VirtDeploSemanticMediaWiki
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:39:34.527614
dcterms:modified
2017-06-29T07:36:38.692897
rdfs:label
VirtDeploSemanticMediaWiki
foaf:maker
n6:this n23:this
dc:title
VirtDeploSemanticMediaWiki
opl:isDescribedUsing
n19:rdf
sioc:has_creator
n8:this n13:this
sioc:attachment
n4:png n11:png n24:png
sioc:content
%META:TOPICPARENT{name="VOSIndex"}% ---+ Setting up [[http://semantic-mediawiki.org/wiki/Semantic_MediaWiki][SemanticMediaWiki]] using Virtuoso. General instructions for setting up SMW can be found [[http://semantic-mediawiki.org/wiki/Help:Installation][here.]] This page gives specific instructions for using the [[http://semantic-mediawiki.org/wiki/Semantic_MediaWiki][SemanticMediaWiki]] extension with Virtuoso. ---++Prerequisites Virtuoso Server with the Mediawiki VAD installed. ---+++Note on Installing <nowiki>MediaWiki</nowiki> Install <nowiki>MediaWiki </nowiki>on your server following this guide: * [[VirtDeployMediaWiki][Deploy MediaWiki using Virtuoso]] The <nowiki>MediWiki</nowiki> VAD includes everything that you need to run <nowiki>SemanticMediaWiki. The SMW and Validator extensions are installed during the VAD install. When you run the MediaWiki installer will see on the Options Page, in the Extensions section, that you can select to enable the Validator and SemanticMediaWiki extensions</nowiki>. <b>Do not</b> select <nowiki>SemanticMediaWiki</nowiki> at this point. There is a [[MediawikiExtensionLoading][bug]] in the automatic installation of <nowiki>SemanticMediawiki</nowiki> and it will cause your installation of <nowiki>MediaWiki</nowiki> to fail. You will need the Validator extension for <nowiki>SemanticMediaWiki</nowiki> so you can either choose to enable it during the <nowiki>MediaWiki</nowiki> setup or enable it manually later. ---++Enable the <nowiki>SemanticMediawiki</nowiki> Extension. Once you have successfully installed <nowiki>MediaWiki</nowiki>, go to the root of the installation and edit LocalSettings.php. Enable the extensions by putting the following lines in LocalSettings.php. If you enabled Validator while setting up MediaWiki then the validator line will already be in LocalSettings.php. <verbatim> require_once( "$IP/extensions/Validator/Validator.php" ); include_once( "$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php" ); enableSemantics('localhost:8890'); </verbatim> ---++Set Up the Database Tables Next you will need to set up some extra database tables that are used by SMW. If you enable the extension but do not do this step you will find you get an error message every time you save a page. The message you will see is: <verbatim> Error in doQuery(): [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]SQ200: No table smw_ids . </verbatim> To set up the database tables, log in as a <nowiki>MediaWiki</nowiki> administrator and go to the <b>Special Pages</b>. Select the <b>Admin Functions for Semantic <nowiki>MediaWiki</nowiki></b> page. <img src="%ATTACHURLPATH%/Special.png" style="wikiautogen"/> On the Admin Functions For Semantic <nowiki>MediaWiki</nowiki> Page click the <b>Initialise or upgrade tables</b> button. This will set up the tables. <img src="%ATTACHURLPATH%/InitTables.png" style="wikiautogen"/> If it is successful you will see a page showing each table that has been created and at the bottom you will see the message <b>The storage engine was set up successfully.</b> <img src="%ATTACHURLPATH%/success.png" style="wikiautogen"/> ---++Testing the Installation At this point you can quickly check that SMW has been correctly installed by creating a new page and entering the following text. <verbatim> Property test: [[testproperty::Dummypage]] </verbatim> If you preview the page before saving you will see a Factbox containing the new property. Once the page is saved the property should be displayed when you select the <b>Browse Properties</b> link in the left hand menu. At this point you can use SMW. However, you may wish to set up Virtuoso as an <nowiki>SMWSparqlStore</nowiki>. ---++Using Virtuoso as <nowiki>SMWSparqlStore</nowiki> <nowiki>The default storage backend for SemanticMediaWiki is called SQLStore2 and it stores the semantic information in the same relational database used by the base MediaWiki installation. However, a relational database is not the best way to store semantic information. SMW allows you to set up a RDF data store that can be queried using the sparql protocol as a more efficient means of storing semantic data</nowiki>. See the SMW help document: [[http://semantic-mediawiki.org/wiki/Help:Using_SPARQL_and_RDF_stores][Help:Using SPARQL and RDF stores.]] The following must be added to LocalSettings.php to use Virtuoso as a sparql store. <verbatim> $smwgDefaultStore = 'SMWSparqlStore'; $smwgSparqlDatabase = 'SMWSparqlDatabaseVirtuoso'; # using Virtuoso as connector $smwgSparqlQueryEndpoint = 'http://localhost:8890/sparql/'; # location of query service $smwgSparqlUpdateEndpoint = 'http://localhost:8890/sparql/'; # location of update service $smwgSparqlDataEndpoint = ''; # location of SPARQL over HTTP service # optional value; leave as is in case of problems $smwgSparqlDefaultGraph = 'http://example.org/mydefaultgraphname'; # name of default graph </verbatim>
sioc:id
094ad14a552453e1eef1dc1019a8a48a
sioc:link
n2:VirtDeploSemanticMediaWiki
sioc:has_container
n7:VOS
n15:has_services
n14:item
atom:title
VirtDeploSemanticMediaWiki
sioc:links_to
n12:Using_SPARQL_and_RDF_stores n16:Semantic_MediaWiki n12:Installation n17:MediawikiExtensionLoading n17:MediaWiki
atom:source
n7:VOS
atom:author
n6:this
atom:published
2017-06-13T05:39:34Z
atom:updated
2017-06-29T07:36:38Z
sioc:topic
n7:VOS
Subject Item
n2:VOSIndex
sioc:links_to
n2:VirtDeploSemanticMediaWiki