query-929ddf22633fdf36cc3da5dea7dde2cd
Diodati in Label SELECT ?item ?itemLabel ?nomFamLabel WHERE { ?item wdt:P31 wd:Q5; rdfs:label ?itemLabel . FILTER(CONTAINS(LCASE(?itemLabel), "Diodati")) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
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#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Diodati in Label
SELECT ?item ?itemLabel ?nomFamLabel
WHERE
{
?item wdt:P31 wd:Q5;
rdfs:label ?itemLabel .
FILTER(CONTAINS(LCASE(?itemLabel), "Diodati"))
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;
v2("?item"):::projected
v1("?itemLabel"):::projected
c6(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["contains(lower-case(?itemLabel),'Diodati')"]]
f0 --> v1
v2 --"wdt:P31"--> c3
v2 --"rdfs:label"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end