reteplayground
Aggregate

Most common molecular formulas

FormulaMolecules
C26H24N2O47
C17H30O36
C27H26N2O46
C27H26N2O56
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 20 rows · 118 ms · 128.0 KB of 7.2 MB read over HTTP range · no server, no download — the query runs in your browser.

The query

PREFIX chebi: <http://purl.obolibrary.org/obo/chebi/> SELECT ?formula (COUNT(?m) AS ?molecules) WHERE { ?m chebi:formula ?formula } GROUP BY ?formula ORDER BY DESC(?molecules) LIMIT 20

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