query-bcce9a6ddab3f6ac9cd5fda62865ade3
Diseases within ophthalmology. This is a simplified production version, for automated dictionary generation. See the page history for a version that handles aliases. SELECT DISTINCT ?item WHERE { ?item wdt:P31 wd:Q12136 . ?item wdt:P1995 ?medspec . ?medspec wdt:P361* wd:Q161437 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } LIMIT 10000
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#>
#Diseases within ophthalmology. This is a simplified production version, for automated dictionary generation. See the page history for a version that handles aliases.
SELECT DISTINCT ?item
WHERE {
?item wdt:P31 wd:Q12136 .
?item wdt:P1995 ?medspec .
?medspec wdt:P361* wd:Q161437 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
LIMIT 10000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?medspec")
c7(["bd:serviceParam"]):::iri
c5(["wd:Q161437"]):::iri
c9(["en"]):::literal
c2(["wd:Q12136"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P1995"--> v2
v2 --"wdt:P361"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end