query-c979b89dfa6d7c57a4f568ac94e9b153
title: Chemical compounds part of a pathway on glioblastoma SELECT DISTINCT ?compound ?compoundLabel WHERE { ?pathway wdt:P2410 ?wpid ; # pathways with a Wikipathways ID wdt:P921 wd:Q7843332 ; # with a main subject of triple negative breast cancer wdt:P527 ?compound . # which has various parts ?compound wdt:P279*/wdt:P31 wd:Q11173 . # part is subclass of of chemical compound SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title: Chemical compounds part of a pathway on glioblastoma
SELECT DISTINCT ?compound ?compoundLabel WHERE {
?pathway wdt:P2410 ?wpid ; # pathways with a Wikipathways ID
wdt:P921 wd:Q7843332 ; # with a main subject of triple negative breast cancer
wdt:P527 ?compound . # which has various parts
?compound wdt:P279*/wdt:P31 wd:Q11173 . # part is subclass of of chemical compound
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?compound"):::projected
v1("?pathway")
v2("?wpid")
a1((" "))
c9(["bd:serviceParam"]):::iri
c7(["wd:Q11173"]):::iri
c3(["wd:Q7843332"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P2410"--> v2
v1 --"wdt:P921"--> c3
v1 --"wdt:P527"--> v3
v3 --"wdt:P279"--> a1
a1 --"wdt:P31"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end