How to Install a Semantic Bank

Deprecated

The remaining documentation is deprecated. Semantic Bank is now available as part of Longwell and installation directions have changed. To run Semantic Bank, obtain Longwell and then run the semantic-bank configuration.

Obtain the Binary Distribution

You can either download it already built, or build it yourself following the building instructions

Run the Distribution

The magic is done by configuring the file "semantic-bank.properties".

  1. Select the triple store of choice. By default is the Sesame IO triple store. Use the memory store if you want speed and don’t care of preserving the content (for example, in a demo scenario).
  2. Change the baseURI to map the location where semantic-bank will reside.
  3. Change the 'server.host' and 'server.port' according to the IP interface you want the server to listen to. It defaults to 127.0.0.1 for security reasons, which means it only listens to call made from localhost, if you want to serve to all requests, change this to "0.0.0.0". As for port, up to you. We strongly advise not to run this as root, so keep it above 1024.

Now you are all set, run

./semantic-bank.sh run semantic-bank.properties
and point your browser to http://127.0.0.1:8888/bank/ to start.

To include 'starting points' and descriptive labels in your bank, or any other RDF on your filesystem, run your installation with the directory as another argument after the properties file (make sure to do this in the correct order, the ontologies must be loaded first):

./semantic-bank.sh run semantic-bank.properties src/rdf/ontologies
# stop after it starts properly
./semantic-bank.sh run semantic-bank.properties src/rdf/configurations src/rdf/facades