query-b138800cde531edb134250804c0d493b
Missing French labels/descriptions of rowers (works also with German/English/…)
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemDescription ?citizenship WHERE {
{
SELECT ?item ?citizenship WHERE {
?item p:P106/ps:P106/wdt:P279* wd:Q26270618 .
?item wdt:P27 ?citizenship .
}
}
OPTIONAL {
?item rdfs:label ?labels .
FILTER( LANG(?labels) = "fr" ) .
}
FILTER(!BOUND(?labels))
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?citizenship"):::projected
v2("?item"):::projected
v1("?labels")
a1((" "))
a2((" "))
c9(["bd:serviceParam"]):::iri
c5(["wd:Q26270618"]):::iri
c1(["fr"]):::literal
f0[["not bound(?labels)"]]
f0 --> v1
v2 --"p:P106"--> a1
a1 --"p:statement/P106"--> a2
a2 --"p:direct/P279"--> c5
v2 --"p:direct/P27"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."rdfs:label".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c1
end