reteplayground
Aggregate

How is a species recorded? (basis of record)

SELECT ?basis (COUNT(?o) AS ?n) WHERE {
  ?o a <https://w3id.org/rete/gbif/taxon/species/2487879>…
}
GROUP BY ?basis ORDER BY DESC(?n)
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 dwc: <http://rs.tdwg.org/dwc/terms/> SELECT ?basis (COUNT(?o) AS ?n) WHERE { ?o a <https://w3id.org/rete/gbif/taxon/species/2487879> ; dwc:basisOfRecord ?basis . } GROUP BY ?basis ORDER BY DESC(?n)

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