reteplayground
Aggregate

🔗 Federated: files per province (joins geoadmin)

SELECT ?province (COUNT(?d) AS ?files) WHERE {
  ?d schema:contentLocation ?p .
  ?p rdfs:label ?province .
} GROUP BY ?province ORDER BY DESC(?files)
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → no server, no download — the query runs in your browser.

The query

PREFIX schema: <http://schema.org/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?province (COUNT(?d) AS ?files) WHERE { ?d schema:contentLocation ?p . ?p rdfs:label ?province . } GROUP BY ?province ORDER BY DESC(?files)

rete playground · documentation · github.com/caviri/rete