There is no longer a singleton SPARQL connection. If you are only interested in tracker-miner-fs data, you can create a dedicated DBus connection to it through:
conn = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker3.Miner.Files", ...);
If you are interested in storing your own data, you can do it through:
conn = tracker_sparql_connection_new (...);
Note that you still may access other endpoints in SELECT queries, eg. for tracker-miner-fs:
SELECT ?url ?tag {
SERVICE <dbus:org.freedesktop.Tracker3.Miner.Files> {
?a a rdfs:Resource;
nie:url ?url .
}
?b nie:url ?url;
nao:hasTag ?tag
}
This SELECT query merges together data from the tracker-miner-fs endpoint with data from the local endpoint.