No tracker_sparql_connection_statistics()/statistics_async()/statistics_finish(): Tracker SPARQL Library Reference Manual

## No tracker_sparql_connection_statistics()/statistics_async()/statistics_finish()

It is possible to query statistics through SPARQL. This query would provide a similar return value than the statistics API:

    SELECT
      ?class
      (COUNT(?resource) AS ?count)
    {
      ?class a rdfs:Class .
      ?resource a ?class
    }
    GROUP BY ?class
    ORDER BY DESC ?count

But of course, other more detailed statistics may be obtained.