query-c1d20e92d041251733b735b65388f4f2
Films with "it" in the title
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?title ?itemDescription
WHERE {
?item wdt:P31 wd:Q11424;
wdt:P1476 ?title.
BIND(LCASE(?title) AS ?normalised)
FILTER (CONTAINS(?normalised, ' it ')|| STRSTARTS(?normalised, 'it ') || STRENDS(?normalised, ' it'))
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" }
}
ORDER BY (?title)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v4("?normalised")
v1("?title"):::projected
c8(["bd:serviceParam"]):::iri
c5(["wd:Q11424"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,mul,en"]):::literal
f0[["(contains(?normalised,' it ') || (starts-with(?normalised,'it ') || ends-with(?normalised,' it')))"]]
f0 --> v4
v3 --"wdt:P31"--> c5
v3 --"wdt:P1476"--> v1
bind1[/"lower-case(?title)"/]
v1 --o bind1
bind1 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end