query-d94f2a8a2f464d7afdceddd1a7778c79

rq turtle/ttl

Iraqi people with no Arabic label

Use at

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 ?item ?itemLabel WHERE 
{
  ?item wdt:P27 wd:Q796 .
  OPTIONAL {
    ?item rdfs:label ?label .
    FILTER(LANG(?label) = 'ar') .
  }
  FILTER(!BOUND($label)) .
  SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' }
}

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 c6(["bd:serviceParam"]):::iri c8(["en"]):::literal 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 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end