query-3714753dfe9aa93f171a5879fe23aa6b
Propertiesencodes (P688)Entrez Gene ID (P351)UniProt protein ID (P352)found in taxon (P703)encoded by (P702)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?gene ?protein WHERE {
?gene wdt:P688 ?protein .
?gene wdt:P351 ?entrez .
?protein wdt:P352 ?uni .
?gene wdt:P703 ?gt .
?protein wdt:P703 ?pt .
FILTER (?gt = ?pt)
FILTER NOT EXISTS {
?protein wdt:P702 ?gene .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?entrez")
v2("?gene"):::projected
v3("?gt")
v1("?protein"):::projected
v4("?pt")
v6("?uni")
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P702"--> e0v2
e0v2("?gene"):::projected
e0v1("?protein"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P702"--> v2
f1[["?gt = ?pt"]]
f1 --> v3
f1 --> v4
v2 --"wdt:P688"--> v1
v2 --"wdt:P351"--> v5
v1 --"wdt:P352"--> v6
v2 --"wdt:P703"--> v3
v1 --"wdt:P703"--> v4