query-0d8895b8085eec5aeb4657b537dd3b18

rq turtle/ttl

retorna l'idioma d'una cadena de text monolingüe i aquí només seleccionem les etiquetes que sonen català. La consulta completa, és: LANGLa funció

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

Query found at

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