TINYSPARQL-ENDPOINT(1)
π TINYSPARQL-ENDPOINT π
okay so bestie, welcome to tinysparql-endpoint(1) from the TinySPARQL manual β this is the one that spins up SPARQL endpoints for you, and honestly? it's giving main character energy β¨
π NAME π
tinysparql-endpoint β literally just. create a SPARQL endpoint. that's the whole vibe π¦
πΈ SYNOPSIS πΈ
tinysparql endpoint [--dbus-service | -b] <service_name>
[--database-path | -d] <database_path>
[[--ontology | -o] <ontology_name> |
[--ontology-path | -p] <ontology_path>]
[--http-port] <port>
[--loopback]
[[--system | --session]]
like yeah it's a lot of brackets but we love a flexible queen π
β¨ DESCRIPTION β¨
So this command lets you create SPARQL endpoints, periodt. The endpoint you make is gonna be able to handle SPARQL select and update queries, and it'll also notify you about changes in it β iconic behaviour tbh π₯
The endpoint gets exported via DBus, and you reach it through the service_name you gave it β either by using it in a SERVICE clause, or by creating a dedicated bus-based SPARQL connection. iykyk π«Ά
When you're creating a database, you must provide the ontology_name (or alternatively an ontology_path) in order to generate the database. no ontology, no database, no cap. If you go with ontology_name, the ontology has to already exist in $datadir/tracker/ontologies π
β οΈ bestie be careful with the--http-portoption β consider using it only combined with the--loopbackoption. like fr fr, safety first π
The database itself will be stored according to database_path π
π OPTIONS π
-b,--dbus-service=<service_name>β the service name to use on the endpoint. this is the name you'll be calling it by π«-d,--database-path=<database_path>β the path where the database will be stored. your database lives here now, congrats π-o,--ontologyβ the name of an ontology in$datadir/tracker/ontologiesto use on the constructed database π-p,--ontology-pathβ full path to an ontology to use on the constructed database. like, the whole entire path π--sessionβ use the session bus. this is the default, so if you don't say anything, this is what you get π-l,--listβ list all SPARQL endpoints available in DBus π-L,--list-httpβ list network-local HTTP SPARQL endpoints π--http-portβ creates a HTTP endpoint that listens in the specified port. (careful with this one, remember the warning above!! π)--loopbackβ allows only HTTP connections in the loopback device. only effective with HTTP endpoints, so don't expect it to do anything otherwise π
β EXAMPLES β
Export a Nepomuk endpoint with the org.example.Example1 bus name:
$ tinysparql endpoint -b org.example.Example1 -o nepomuk -d /tmp/example1
Access this endpoint with the tinysparql-sparql(1) subcommand:
$ tinysparql sparql --dbus-service org.example.Example1 -q "
SELECT ?s ?o
WHERE {
?u a ?o
}"
Export a Nepomuk endpoint via HTTP:
$ tinysparql endpoint --http-port 8080 -o nepomuk --loopback
Access this endpoint via HTTP:
$ tinysparql sparql --remote-service http://127.0.0.1:8080/sparql -q "
SELECT ?u {
?u a rdfs:Resource
}"
π¦ SEE ALSO π¦
tinysparql-sparql(1)- https://www.w3.org/TR/sparql11-query/ β the SPARQL 1.1 query spec, go read it bestie, it's lowkey fascinating π
and that's the whole page!! this lil doc is from TinySPARQL version 3.12.0, dated 09/15/2026 β ty for reading, ily, go make some endpoints πβ¨π
π¦ where this page comes from
- arch rolling: tinysparql 3.12.0-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms