If you need a SPARQL 1.1 Uniform HTTP Protocol for Managing RDF Graphs server use https://jena.apache.org/documentation/fuseki2/
A SPARQL 1.1 Uniform HTTP Protocol for Managing RDF Graphs server.
> GET /graphs HTTP/1.1
> Host: localhost:6060
> Accept: text/uri-list
>
< HTTP/1.1 200 OK
< Content-Type: text/uri-list
example
> GET /graphs/example HTTP/1.1
> Host: localhost:6060
> Accept: text/turtle, text/plain, text/rdf+n3, application/rdf+xml
>
< HTTP/1.1 200 OK
< Content-Type: text/turtle
<
<http://example/s>
<http://example/p> <http://example/o2> , <http://example/o> .
Or using indirect (query param)
> GET /graphs?graph=example HTTP/1.1
> Host: localhost:6060
> Accept: text/turtle, text/plain, text/rdf+n3, application/rdf+xml
>
< HTTP/1.1 200 OK
< Content-Type: text/turtle
<
<http://example/s>
<http://example/p> <http://example/o2> , <http://example/o> .
Tenuki requires Apache Maven 2.x to build.
If SDB has not yet had a snapshot release that contains bug fixes needed for Tenuki to run. You will need to checkout sdb-trunk, and apply the patches patch patch and build (ant jar
) SDB.
mvn package
- Create PostgreSQL user named
sdb
with passwordchangemeplease
- Create PostgreSQL database with name
sdb_example
- Run: java -jar tenuki-0.4.jar --create example.ini
- Visit [http://localhost:6060/] with your browser