query-afb8b3f4df7e95381adfa1a50d780763

rq turtle/ttl

Diseases of endocrinology. 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:Q162606 .

SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } LIMIT 5000

Use at

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 of endocrinology. 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:Q162606 .

  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
LIMIT 5000

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 c9(["en"]):::literal c5(["wd:Q162606"]):::iri 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