SELECT ?p (COUNT(*) AS ?n) WHERE { ?s ?p ?o } GROUP BY ?p…
rete playground · documentation · github.com/caviri/rete