reteplayground
Path

How caffeine is classified (ancestors)

AncestorLabel
CHEBI_22315alkaloid
CHEBI_23367molecular entity
CHEBI_24431chemical entity
CHEBI_24532organic heterocyclic…
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 33 rows · 506 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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX obo: <http://purl.obolibrary.org/obo/> SELECT ?ancestor ?label WHERE { obo:CHEBI_27732 rdfs:subClassOf+ ?ancestor . ?ancestor rdfs:label ?label } LIMIT 100

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