Tentris is a tensor-based RDF triple store with SPARQL support.
Tᴇɴᴛʀɪs is a tensor-based RDF triple store with SPARQL support. It is introduced and described in:
and
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:
/sparql?query=
for normal queries/stream?query=
for queries with huge results/count?query=
as a workaround for count (consumes a select query)Use the Dockerfile to build tentris.
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.