query-a77fccf01be5a01fe0ff895b1287f745

rq turtle/ttl

title:Query con filtro (FILTER) basato sul REGEX applicato a un alias italiano SELECT ?item ?itemLabel ?alias WHERE { ?item wdt:P106 wd:Q13418253. ?item skos:altLabel ?alias . FILTER(LANG(?alias) = 'it') FILTER(REGEX(?alias, ",")) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
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#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:Query con filtro (FILTER) basato sul REGEX applicato a un alias italiano
SELECT ?item ?itemLabel ?alias
WHERE {
  ?item wdt:P106 wd:Q13418253.
  ?item skos:altLabel ?alias . 
  FILTER(LANG(?alias) = 'it')
  FILTER(REGEX(?alias, ","))
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?alias"):::projected v2("?item"):::projected c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal c4(["wd:Q13418253"]):::iri f0[["regex(?alias,',')"]] f0 --> v1 f1[["?alias = 'it'"]] f1 --> v1 v2 --"wdt:P106"--> c4 v2 --"skos:altLabel"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end