query-227715e923d13a0c628b7be484191b7a
UNION of instance of: chemical compound (Q11173), PubChem Compound ID
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT * WHERE {
?compound wdt:P31 wd:Q11173 ;
wdt:P662 ?pubchem
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?compound"):::projected
v2("?pubchem"):::projected
c2(["wd:Q11173"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P662"--> v2