arrow

From NeuroLex

Jump to: navigation, search

How do I setup a triple store?

Main:view

Download the triplestore connector and apply some changes to your LocalSettings.php

[edit] Quick start

[edit] Setup triple store connector

  1. Get the triple store connector from sourceforge .
  2. Unpack the zip file to an arbitrary directory. Open a console and go to this directory and type
start-triplestore jena

This will start a Triplestore connector and an embedded MessageBroker listening on localhost. It has started properly if you see a command prompt waiting for commands. Try to enter 'help' and you should see a command list.

[edit] Change LocalSettings.php

1. Change enableSMWHalo call to

enableSMWHalo('SMWHaloStore','SMWTripleStore');

OR

enableSMWHalo('SMWHaloStore2','SMWTripleStore');

depending on weather you use the old SMW store or the new.

2. Change enableSemantics call to

enableSemantics('http://mywiki'); 

Any URL is possible but make sure that it does *NOT* contain a hash (#)

3. Add the following two variables:

$smwgMessageBroker = "localhost";
$smwgSPARQLEndpoint = "localhost:8080";

Assuming that your SPARQL-endpoint (always part of TripleStoreConnector) and your Message broker run on localhost.

4. Go to Special page 'Triple store administration' and select 'Initialize'. Return to the special page and you should see a green message indicating that everything is ok.

Facts about How do I setup a triple store?RDF feed
DescriptionDownload the triplestore connector and apply some changes to your LocalSettings.php
DiscourseStateMain:view  +
QuestionHow do I setup a triple store  +