query-54484f3f4fad73e925c84e0ccba28c1e

rq turtle/ttl

Douglas Adams (Q42) not foundAny idea why

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT *
WHERE
{
  BIND (strlang( CONCAT( "Douglas" , " ", "Adams"), "en") as ?testing)
  OPTIONAL { ?item rdfs:label ?testing ; wdt:P31 wd:Q5 }

  BIND(datatype(?testing) as ?dtype)   BIND(lang(?testing) as ?lang)  BIND(strlen(?testing) as ?len)  
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?dtype"):::projected v2("?item"):::projected v4("?lang"):::projected v5("?len"):::projected v1("?testing"):::projected c3(["wd:Q5"]):::iri bind0[/"STRLANG(concat('Douglas',' ','Adams'),'en')"/] bind0 --as--o v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."rdfs:label".-> v1 v2 --"wdt:P31"--> c3 end bind1[/"?testing"/] v1 --o bind1 bind1 --as--o v3 bind2[/"?testing"/] v1 --o bind2 bind2 --as--o v4 bind3[/"string-length(?testing)"/] v1 --o bind3 bind3 --as--o v5