query-49750d28ccacffe9c22a2c110a6cbc8f
Iraqi people with no Arabic labelHi, 22:08, 21 November 2017 (UTC) Andy's edits; Talk to Andy); Pigsonthewing (Andy Mabbett, and no label in Arabic? (Then I can modify it for other country/ language pairs). (Q796)Iraq = (P27)country of citizenship Please could we have people with
Use at
- https://query.wikidata.org/sparql
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#>
SELECT ?item WHERE {
?item wdt:P27 wd:Q796 .
OPTIONAL {
?item rdfs:label ?label .
FILTER(LANG(?label) = 'ar') .
}
FILTER(!BOUND($label)) .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?label")
c3(["wd:Q796"]):::iri
f0[["not bound(?label)"]]
f0 --> v1
v2 --"wdt:P27"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."rdfs:label".-> v1
end