query-87e3842bfc7b38b2db03d0a093694f0a

rq turtle/ttl

Subset of "1000 key topics" with "medical specialty" SELECT DISTINCT ?item WHERE { ?item wdt:P972 wd:Q5460604 . ?item wdt:P1995 ?medspec . SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } }

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#>
#Subset of "1000 key topics" with "medical specialty" 
SELECT DISTINCT ?item 
WHERE {
  ?item wdt:P972 wd:Q5460604 .
  ?item wdt:P1995 ?medspec  .
  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; v1("?item"):::projected v2("?medspec") c5(["bd:serviceParam"]):::iri c7(["en"]):::literal c2(["wd:Q5460604"]):::iri v1 --"wdt:P972"--> c2 v1 --"wdt:P1995"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end