query-b3701bd94022fbc9c3729360dbc00d6d

rq turtle/ttl

title: Give me a list of all chemical compounds and its subclasses SELECT * WHERE { ?compound wdt:P31/wdt:P279* wd:Q11173 }

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#title: Give me a list of all chemical compounds and its subclasses
SELECT * WHERE {
  ?compound wdt:P31/wdt:P279* wd:Q11173
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?compound"):::projected a1((" ")) c3(["wd:Q11173"]):::iri v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3