tracker-sparql - Use SparQL to query the Tracker databases.
tracker-sparql [OPTION...] [-q QUERY] | [-f FILE]
allows the caller to run an RDF query on the database. This can be
done two ways. Either by providing a FILE with the query or by
providing a string with the QUERY string.
The FILE argument can be either a local path or a URI. It also
does not have to be an absolute path.
Show summary of options.
Use a FILE with SPARQL content to query or update.
Use a SPARQL string to query the database with.
This has to be used with
to use the SPARQL update extensions so it knows it isn't a regular
data lookup request. So if your query is intended to change data in
the database, this option is needed.
Returns a list of classes which describe the ontology used for storing
data. These classes are also used in queries. For example,
http://www.w3.org/2000/01/rdf-schema#Resource is one of many
classes which should be returned here.
Returns a list of classes and their related prefixes. Prefixes are
used to make querying a lot simpler and are much like an alias. For
example, http://www.w3.org/2000/01/rdf-schema#Resource has the
prefix rdfs so queries can be cut down to:
These properties nfo:frameRate and nfo:frameCount can be
used in more complex queries (see --query).
Returns a list of classes which are notified over D-Bus about any
changes that occur in the database. CLASS does not have to be
supplied here. This is optional and filters the results according to
any argument supplied. With no CLASS, all classes are listed.
Returns a list of classes and properties which partially match
TERM in the ontology. This is a case insensitive match, for