Skip to content

Virtuoso Configuration

Nolan Nichols edited this page Oct 16, 2013 · 1 revision

Virtuoso 7.0 (Mac - Mountain Lion)

The easiest way to quickly get up and running with Virtuoso 7.0 on Mac is to use Homebrew.

brew install virtuoso

Then to start Virtuoso (assuming that you install Homebrew in the default location) you'll need to change to the database directory and start the server and run a command to start virtuoso.

cd /usr/local/Cellar/virtuoso/7.0.0/var/lib/virtuoso/db
virtuoso-t -f &

Note: the -f & simply prints the stdout so you'll see if the server starts correctly.

In order to run the notebook examples, you'll need to enable virtuoso's SPARQL user to have update permissions. Note: this will allow anyone to update or delete content in the database and should only be used for development/testing

First start the isql terminal by running isql at the command line. Then execute the following command to enable updates.

grant SPARQL_UPDATE to "SPARQL";

Note: to exit the isql terminal hit <ctrl> d

You should now be able to visit http://localhost:8890/sparql and run SPARQL and SPARQL Update commands.

Note: to stop the Virtuoso server enter the isql terminal and simply enter:

shutdown();
Clone this wiki locally