1TRACKER3-ENDPOINT(1) Tracker manual TRACKER3-ENDPOINT(1)
2
3
4
6 tracker3-endpoint - Create a SPARQL endpoint
7
9 tracker3 endpoint [--dbus-service | -b] <service_name>
10 [--database-path | -d] <database_path>
11 [[--ontology | -o] <ontology_name> |
12 [--ontology-path | -p] <ontology_path>]
13 [[--system | --session]]
14
16 This command allows creating SPARQL endpoints. The endpoint will be
17 able to handle SPARQL select and update queries, and notify about
18 changes in it.
19
20 The endpoint is exported via DBus, accessible through the given
21 service_name, either using it in a SERVICE clause, or by creating a
22 dedicated bus-based SPARQL connection.
23
24 When creating a database, the ontology_name (or alternatively, a
25 ontology_path) must be provided in order to generate the database. If
26 ontology_name is used, the ontology must exist in
27 $datadir/tracker/ontologies
28
29 The database itself will be stored according to database_path.
30
32 -b, --dbus-service=<service_name>
33 Service name to use on the endpoint.
34
35 -d, --database-path=<database_path>
36 The path where the database will be stored.
37
38 -o, --ontology
39 The name of an ontology in $datadir/tracker/ontologies to use on
40 the constructed database.
41
42 -p, --ontology-path
43 Full path to an ontology to use on the constructed database.
44
45 --session
46 Use the session bus. This is the default.
47
48 --system
49 Use the system bus.
50
51 -l, --list
52 List all SPARQL endpoints available in DBus
53
55 Export a Nepomuk endpoint with the org.example.Example1 bus name.
56
57 $ tracker3 endpoint -b org.example.Example1 -o nepomuk -d /tmp/example1
58
59 Access this endpoint with the tracker3-sparql(1) subcommand.
60
61 $ tracker3 sparql --dbus-service org.example.Example1 -q "
62 SELECT ?s ?o
63 WHERE {
64 ?u a ?o
65 }"
66
68 tracker3-sparql(1),
69
70 https://www.w3.org/TR/sparql11-query/
71
72
73
74 3.0.4 04/03/2021 TRACKER3-ENDPOINT(1)