SELECT ?t (COUNT(*) AS ?n) WHERE { GRAPH ?g { ?s <http://www.w3.org/1999/02/22-rdf-syntax-… } GROUP BY ?t ORDER BY DESC(?n) LIMIT 30
rete playground · documentation · github.com/caviri/rete