Tᴇɴᴛʀɪs is a tensor-based RDF triple store with SPARQL support. It is introduced and described in:
and
- download static prebuilt binaries and try them out
- build it with docker
Provide an NTRIPLE or TURTLE file to build the an index. By default, the index is stored in the current directory. The
path can be changed with the option --storage
.
tentris_loader --file my_nt_file.nt
To start Tᴇɴᴛʀɪs as a HTTP endpoint on port 9080 run now:
tentris_server -p 9080
The SPARQL endpoint may now be queried locally at: 127.0.0.1:9080/sparql?query=*your query*
. You can execute queries
with the following curl command:
curl -G \
--data-urlencode 'query=SELECT * WHERE { ?s ?p ?o . }' \
'127.0.0.1:9080/sparql'
If you want to type the query in your browser, the query string must be URL encoded. You can use any online URL encoder like https://meyerweb.com/eric/tools/dencoder.
The following endpoints are available: Available endpoints:
- HTTP GET
/sparql?query=
for normal queries - HTTP GET
/stream?query=
for queries with huge results - HTTP GET
/count?query=
as a workaround for count (consumes a select query)
Use the Dockerfile to build tentris.
- A docker image is available on docker hub. Get it with
docker build -f Dockerfile . docker pull dicegroup/tentris_server
Tᴇɴᴛʀɪs is known to build on Ubuntu 22.04 and newer. Building was tested with Clang 15. As standard library, only libstdc++11 (v12) was tested. For details refer to the Dockerfile or github actions.