query-1e5ce9dbbfaa2b4262c6adc1179f0e39

rq turtle/ttl

Where is Ryan? in the result of the following query? (Q3943046)Ryan Why is there no

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 DISTINCT ?item ?name ?sex WHERE {
  ?item wdt:P31 ?sex .
  VALUES ?sex {wd:Q3409032} .
  ?item rdfs:label ?name FILTER (lang(?name) = "en") . FILTER(STRLEN(?name)=4 && StrStarts(?name,"R"))
} ORDER BY ?name

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?name"):::projected v4("?sex"):::projected f0[["string-length(?name) = '4^^xsd:integer'starts-with(?name,'R')"]] f0 --> v1 f1[["?name = 'en'"]] f1 --> v1 v2 --"wdt:P31"--> v4 bind2[/VALUES ?sex/] bind2-->v4 bind20(["wd:Q3409032"]) bind20 --> bind2 v2 --"rdfs:label"--> v1