Unix Quick Start
This guide explains the basic steps to get you started quickly with Stardog on a Unix
First, tell Stardog where its home directory (where databases and
other files will be stored) is:
$ export STARDOG_HOME=/data/stardog
Second, copy the stardog-license-key.bin
$ cp stardog-license-key.bin $STARDOG_HOMEThird, start the Stardog server. By default the server will expose SNARL and HTTP interfaces—on ports 5820 and 5822, respectively.
$ ./stardog-admin server start
Fourth, create a database with an input file; use the --server parameter to specify which server:
$ ./stardog-admin db create -n myDB -t D -u admin -p admin examples/data/University0_0.owl
Fifth, optionally, admire the pure RDF bulk loading power...woof!
Sixth, query the database:
$ ./stardog query myDB "SELECT DISTINCT ?s WHERE { ?s ?p ?o } LIMIT 10"
