query-bc88050ff1c4926b844e16773e592744
Propertiesencodes (P688)Entrez Gene ID (P351)UniProt protein ID (P352)found in taxon (P703)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?gene ?gtLabel ?protein ?ptLabel WHERE {
?gene wdt:P688 ?protein .
?gene wdt:P351 ?entrez .
?protein wdt:P352 ?uni .
?gene wdt:P703 ?gt .
?protein wdt:P703 ?pt .
FILTER (?gt != ?pt)
?gt rdfs:label ?gtLabel; FILTER(LANG(?gtLabel) = "en").
?pt rdfs:label ?ptLabel; FILTER(LANG(?ptLabel) = "en").
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?entrez")
v5("?gene"):::projected
v3("?gt")
v2("?gtLabel"):::projected
v6("?protein"):::projected
v4("?pt")
v1("?ptLabel"):::projected
v8("?uni")
f0[["?ptLabel = 'en'"]]
f0 --> v1
f1[["?gtLabel = 'en'"]]
f1 --> v2
f2[["?gt != ?pt"]]
f2 --> v3
f2 --> v4
v5 --"wdt:P688"--> v6
v5 --"wdt:P351"--> v7
v6 --"wdt:P352"--> v8
v5 --"wdt:P703"--> v3
v6 --"wdt:P703"--> v4
v3 --"rdfs:label"--> v2
v4 --"rdfs:label"--> v1