Prepares the given `SELECT`/`ASK`/`DESCRIBE`/`CONSTRUCT` SPARQL query as a [class@SparqlStatement].
This prepared statement can be executed through [method@SparqlStatement.execute] or [method@SparqlStatement.serialize_async] families of functions.
| this |
A `TrackerSparqlConnection` |
| sparql |
The SPARQL query |
| cancellable |
Optional [type@Gio.Cancellable] |
|
A prepared statement |