tracker3-endpoint (1) - Linux Manuals

tracker3-endpoint: Create a SPARQL endpoint


tracker3-endpoint - Create a SPARQL endpoint


tracker3 endpoint [--dbus-service | -b] <service_name>
                  [--database-path | -d] <database_path>
                  [[--ontology | -o] <ontology_name> |
                   [--ontology-path | -p] <ontology_path>]
                  [--http-port] <port>
                  [[--system | --session]]


This command allows creating SPARQL endpoints. The endpoint will be able to handle SPARQL select and update queries, and notify about changes in it.

The endpoint is exported via DBus, accessible through the given service_name, either using it in a SERVICE clause, or by creating a dedicated bus-based SPARQL connection.

When creating a database, the ontology_name (or alternatively, a ontology_path) must be provided in order to generate the database. If ontology_name is used, the ontology must exist in $datadir/tracker/ontologies

The database itself will be stored according to database_path.


-b, --dbus-service=<service_name>

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.


Use the session bus. This is the default.


Use the system bus.

-l, --list

List all SPARQL endpoints available in DBus


Creates a HTTP endpoint that listens in the specified port


Allows only HTTP connections in the loopback device. Only effective with HTTP endpoints.


Export a Nepomuk endpoint with the org.example.Example1 bus name.

$ 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
    ?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 -q "
  SELECT ?u {
    ?u a rdfs:Resource