query-5fc6ef2a5edbedb7ab40d61ee5db52e5
Retrieve all mature miRNAs and their targets (names and NCBI entrez gene ID) SELECT DISTINCT ?mirna ?mirnaLabel ?gene ?geneLabel ?entrez WHERE { ?mirna wdt:P31 wd:Q23838648 ; wdt:P128 ?gene . ?gene wdt:P351 ?entrez .
SERVICE wikibase:label { bd:serviceParam wikibase: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#>
#Retrieve all mature miRNAs and their targets (names and NCBI entrez gene ID)
SELECT DISTINCT ?mirna ?mirnaLabel ?gene ?geneLabel ?entrez WHERE {
?mirna wdt:P31 wd:Q23838648 ;
wdt:P128 ?gene .
?gene wdt:P351 ?entrez .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?entrez"):::projected
v2("?gene"):::projected
v1("?mirna"):::projected
c6(["bd:serviceParam"]):::iri
c2(["wd:Q23838648"]):::iri
c8(["en"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P128"--> v2
v2 --"wdt:P351"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end