Neurolex is being transitioned to a new system and is currently not accepting new additions. If you have additions or questions please contact us at [email protected], or submit an issue to the github issue tracker at


From NeuroLex

Jump to: navigation, search

How do I setup a triple store?


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




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

2. Change enableSemantics call to


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.

*Note: Neurolex imports many terms and their ids from existing community ontologies, e.g., the Gene Ontology. Neurolex, however, is a dynamic site and any content beyond the identifier should not be presumed to reflect the content or views of the source ontology. Users should consult with the authoritative source for each ontology for current information.

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  +