query-5d23c324c0c4f9adc3b93f7952c062f4
no description SELECT ?item ?itemLabel ?itemLabel_ar WITH { SELECT ?item WHERE { ?item wdt:P106 wd:Q937857 . filter not exists { ?item schema:description ?itemDesc_ar . filter(lang(?itemDesc_ar)="ar") } } LIMIT 200 } AS %RESULTS { INCLUDE %RESULTS optional {?item rdfs:label ?itemLabel_ar . filter(lang(?itemLabel_ar)="ar")} SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
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 schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#no description
SELECT ?item ?itemLabel ?itemLabel_ar {
{
SELECT ?item WHERE {
?item wdt:P106 wd:Q937857 .
filter not exists { ?item schema:description ?itemDesc_ar . filter(lang(?itemDesc_ar)="ar") }
} LIMIT 200
} optional {?item rdfs:label ?itemLabel_ar . filter(lang(?itemLabel_ar)="ar")}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v2("?itemDesc_ar")
v1("?itemLabel_ar"):::projected
c7(["bd:serviceParam"]):::iri
c4(["wd:Q937857"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?itemDesc_ar = 'ar'"]]
e0f0 --> e0v1
e0v2 --"schema:description"--> e0v1
e0v2("?item"):::projected
e0v1("?itemDesc_ar"):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> v3
f0 --> c2
f1[["?itemDesc_ar = 'ar'"]]
f1 --> v2
v3 --"schema:description"--> v2
v3 --"wdt:P106"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."rdfs:label".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end