TRACKER3-ENDPOINT(1)
π tracker3-endpoint(1) π
okay bestie, welcome to the Tracker manual page for this absolute icon: tracker3-endpoint. Itβs giving βmake me a SPARQL endpointβ energy, and weβre gonna walk through it together π
πΈ NAME πΈ
tracker3-endpoint β create a SPARQL endpoint β¨
β¨ SYNOPSIS β¨
tracker3 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]]
π DESCRIPTION π
This command is your lil factory for creating SPARQL endpoints, no cap. The endpoint can handle SPARQL select and update queries, and it can notify about changes in it. Slay.
The endpoint is exported via DBus, and you can access it through the given service_name β either by using it in a SERVICE clause, or by creating a dedicated bus-based SPARQL connection. iykyk π«Ά
When youβre creating a database, the ontology_name (or alternatively, an ontology_path) must be provided in order to generate the database. If ontology_name is used, the ontology must exist in $datadir/tracker/ontologies.
β οΈ bestie, be careful with the--http-portoption β consider using it only combined with the--loopbackoption. fr fr.
The database itself will be stored according to database_path. Thatβs where it lives, periodt π
π OPTIONS π
-b,--dbus-service=<service_name>β the service name to use on the endpoint π-d,--database-path=<database_path>β the path where the database will be stored π-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 π¦--sessionβ use the session bus. This is the default π--systemβ use the system bus π-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 πΈ--loopbackβ allows only HTTP connections in the loopback device. Only effective with HTTP endpoints π§
π¦ EXAMPLES π¦
Export a Nepomuk endpoint with the org.example.Example1 bus name. iconic behavior:
$ tracker3 endpoint -b org.example.Example1 -o nepomuk -d /tmp/example1
Access this endpoint with the tracker3-sparql(1) subcommand:
$ tracker3 sparql --dbus-service org.example.Example1 -q "
SELECT ?s ?o
WHERE {
?u a ?o
}"
Export a Nepomuk endpoint via HTTP π:
$ tracker3 endpoint --http-port 8080 -o nepomuk --loopback
Access this endpoint via HTTP:
$ tracker3 sparql --remote-service http://127.0.0.1:8080/sparql -q "
SELECT ?u {
?u a rdfs:Resource
}"
π SEE ALSO π
this page is from Tracker 3.7.3, dated 10/29/2024 β bye bestie, go make some endpoints and slay ππ«Ά
π¦ where this page comes from
- centos-stream 10: tracker 3.7.3-4.el10 Β· 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