query-50702d793962e17398830c19961ace93

rq turtle/ttl

renvoie la langue d'une chaîne de caractères monolingue, et ici nous sélectionnons les libellés qui sont en anglais. La requête complète est : LANGLa fonction

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 ?humain ?humainLabel
WHERE
{
  ?humain wdt:P31 wd:Q15632617;
         rdfs:label ?humainLabel.
  FILTER(LANG(?humainLabel) = "[AUTO_LANGUAGE]").
  FILTER(STRSTARTS(?humainLabel, "Mr. ")).
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?humain"):::projected v1("?humainLabel"):::projected c4(["wd:Q15632617"]):::iri f0[["starts-with(?humainLabel,'Mr. ')"]] f0 --> v1 f1[["?humainLabel = '#91;AUTO_LANGUAGE#93;'"]] f1 --> v1 v2 --"wdt:P31"--> c4 v2 --"rdfs:label"--> v1