Paolo Castagna wrote:
> this is how I install Apache Jena (which includes ARQ):

By the way, in a similar way you can install Fuseki which includes: Jena, ARQ, 
TDB and Jetty to serve the HTTP stuff.

cd /tmp
wget 
http://www.apache.org/dist/incubator/jena/jena-fuseki-0.2.1-incubating/jena-fuseki-0.2.1-incubating-distribution.zip
unzip jena-fuseki-0.2.1-incubating-distribution.zip
cd jena-fuseki-0.2.1-incubating-distribution

Verify and load data:
java -cp fuseki-server.jar tdb.tdbloader --version
java -cp fuseki-server.jar tdb.tdbloader --loc=/tmp/tdb /path/to/data/*.nt

Run the server:
./fuseki-server --loc /tmp/tdb --update /datasetname

Open your browser:
firefor http://127.0.0.1:3030

Or use it from a command line (i.e. Ruby scripts):
cd /tmp/jena-fuseki-0.2.1-incubating-distribution/
chmod +x s-*
./s-query --service=http://127.0.0.1:3030/datasetname/sparql
--output=text "SELECT * { ..."

Documentation here:
http://incubator.apache.org/jena/documentation/serving_data/

I used /tmp just for this example, pick you location.
Once again, this is on Linux|UNIX on Windows you need to slightly adapt a few 
commands... but, it's mainly: download, unzip, load some data and run.
Fuseki offers you a SPARQL endpoint over HTTP and you can use your favorite 
HTTP client.

Paolo

Reply via email to