query-020edd7acfccc9ffa4cf617138e6eafc
Poems that has Ophélie in their label
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#>
SELECT DISTINCT ?item ?itemLabel
WHERE
{
?item wdt:P31 wd:Q5185279 ;
rdfs:label ?label .
FILTER(LANG(?label) IN ("en", "es", "fr", "de")) .
FILTER(CONTAINS(?label, "Ophélie")) .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "fr,en,de,es" .
}
}
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v1("?itemLabel"):::projected
v2("?label")
c10(["bd:serviceParam"]):::iri
c12(["fr,en,de,es"]):::literal
c7(["wd:Q5185279"]):::iri
f0[["contains(?label,'Ophélie')"]]
f0 --> v2
list0c4(["de"]):::literal
list0c1(["en"]):::literal
list0c3(["fr"]):::literal
list0c2(["es"]):::literal
list0c1 --o f1
list0c2 --o f1
list0c3 --o f1
list0c4 --o f1
f1[[" in "]]
f1 --> v2
v3 --"wdt:P31"--> c7
v3 --"rdfs:label"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end