reteplayground
Aggregate

Top plant families by number of photos

FamilyPhotos
Poaceae4659
Fabaceae2786
Asteraceae1312
Rosaceae1048
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 25 rows · 259 ms · 256.0 KB of 9.8 MB read over HTTP range · no server, no download — the query runs in your browser.

The query

PREFIX pa: <https://w3id.org/rete/plantatlas/ontology#> PREFIX dwc: <http://rs.tdwg.org/dwc/terms/> SELECT ?family (COUNT(?photo) AS ?n) WHERE { ?photo a pa:Photo ; dwc:family ?family . } GROUP BY ?family ORDER BY DESC(?n) LIMIT 25

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