reteplayground
Aggregate

Most common molecular formulas

FormulaMolecules
C18H32O16471
C15H24281
C15H22O3234
C6H12O6223
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 20 rows · 409 ms · 1.0 MB of 156.5 MB read over HTTP range · no server, no download — the query runs in your browser.

The query

PREFIX chemrof: <https://w3id.org/chemrof/> SELECT ?formula (COUNT(?m) AS ?molecules) WHERE { ?m chemrof:generalized_empirical_formula ?formula } GROUP BY ?formula ORDER BY DESC(?molecules) LIMIT 20

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