TRACKER3-ENDPOINT(1)

πŸ“¦
version 3.7.3 Β· 5 versions
, in centos-stream 10

πŸ’… 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-port option β€” consider using it only combined with the --loopback option. 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/ontologies to 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