query-46144c5ee898cd38969537252abb72ad
ICD10 sanity check for "neurology" medical specialty SELECT ?item ?itemLabel ?icd WHERE { ?item wdt:P1995 wd:Q83042 . ?item wdt:P494 ?icd .
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#>
#ICD10 sanity check for "neurology" medical specialty
SELECT ?item ?itemLabel ?icd
WHERE {
?item wdt:P1995 wd:Q83042 .
?item wdt:P494 ?icd .
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;
v2("?icd"):::projected
v1("?item"):::projected
c2(["wd:Q83042"]):::iri
c5(["bd:serviceParam"]):::iri
c7(["en"]):::literal
v1 --"wdt:P1995"--> c2
v1 --"wdt:P494"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end