Run this query →no server · no download · no account
caviri.github.io/rete
Run this query in the playground →36 rows · 3.3 s · 3.5 MB of 15.6 MB read over HTTP range · no server, no download — the query runs in your browser.
The query
PREFIX mtg: <https://w3id.org/rete/mtg#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?type (COUNT(?c) AS ?cards) WHERE {
?c a mtg:Card ; a ?t .
?t rdfs:subClassOf mtg:Card ; rdfs:label ?type .
} GROUP BY ?type ORDER BY DESC(?cards)