Parameters and prepared statements

Tracker accepts “~” prefixed variables in place of literals throughout most of the SPARQL select syntax. These variables are treated as parameters at query time, so it is possible to prepare a query statement once and reuse it many times assigning different values to those parameters at query time.

See the TrackerSparqlStatement documentation for more information.