query-9be162be06649b550b5e21d00ec89845

rq turtle/ttl

Exact match of variable stringI am trying to do an exact match of variable string with something like

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT * {

  { SELECT DISTINCT (xsd:string(?author_name_) AS ?author_name) { wd:Q5565155 skos:altLabel ?author_name_ . } }
  ?work wdt:P2093 ?author_name .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?author_name"):::projected v1("?author_name_") v3("?work"):::projected c1(["wd:Q5565155"]):::iri c1 --"skos:altLabel"--> v1 bind0[/"http://www.w3.org/2001/XMLSchema#string(?author_name_)"/] v1 --o bind0 bind0 --as--o v2 v3 --"wdt:P2093"--> v2