query-fde501475f06848c9d493b04a76acae2

rq turtle/ttl

Can't query some labeled itemsDear all, I want to check, if a person exists and return its identifier. This works fine: } .Q5:wd P31:wdt ?item ."Hartmann von Aue" ?label ?item { WHERE ?item DISTINCT SELECT So why does that query: Q75852-->

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?item WHERE {
  ?item ?label "Heinrich von Rugge".
  ?item wdt:P31 wd:Q5.
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v2("?label") c1(["Heinrich von Rugge"]):::literal c3(["wd:Q5"]):::iri v1 -->v2--> c1 v1 --"wdt:P31"--> c3