query-5db83a4ead177602824d658847f4af8e
Propertieshas part(s) (P527)WikiPathways ID (P2410)chromosome (P1057)short name (P1813)HGNC gene symbol (P353)genomic start (P644)genomic end (P645)genomic assembly (P659)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?name ?chr ?start ?stop WHERE {
{
SELECT DISTINCT ?gene ?name ?chr WHERE {
VALUES ?pathwayID { "WP534" }
?pathway wdt:P527 ?gene ;
wdt:P2410 ?pathwayID .
?gene wdt:P1057/wdt:P1813 ?chr ;
wdt:P353 ?name .
}
} ?gene p:P644 [
pq:P659 wd:Q20966585 ;
ps:P644 ?start
] .
?gene p:P645 [
pq:P659 wd:Q20966585 ;
ps:P645 ?stop
]
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?chr"):::projected
v3("?gene")
v5("?name"):::projected
v2("?pathway")
v1("?pathwayID")
v6("?start"):::projected
v7("?stop"):::projected
a1((" "))
a2((" "))
a3((" "))
c7(["wd:Q20966585"]):::iri
bind0[/VALUES ?pathwayID/]
bind0-->v1
bind00(["WP534"])
bind00 --> bind0
v2 --"p:direct/P527"--> v3
v2 --"p:direct/P2410"--> v1
v3 --"p:direct/P1057"--> a1
a1 --"p:direct/P1813"--> v4
v3 --"p:direct/P353"--> v5
a2 --"p:qualifier/P659"--> c7
a2 --"p:statement/P644"--> v6
v3 --"p:P644"--> a2
a3 --"p:qualifier/P659"--> c7
a3 --"p:statement/P645"--> v7
v3 --"p:P645"--> a3