query-c4dbe58bc5af5a640e578bef32119f31

rq turtle/ttl

All items with label in small language) but I get timeout: there are ~30 items with labels in TokiponaI am trying to get all labels in some small language (e.g. I know

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 ?lang_label ?itemLabel ?itemDescription WHERE {
# ?item wdt:P279* wd:Q35120.
#  ?item wdt:P31 wd:Q55983715.
# SERVICE wikibase:label { bd:serviceParam wikibase:language "ru,ase,nl,fr,en,de,it,es,no,pt". }
 FILTER(EXISTS {
   ?item rdfs:label ?lang_label.
   FILTER(LANG(?lang_label) = "tokipona") #with missing Italian label
 })
}
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("?lang_label"):::projected f0[[" "]] subgraph f0e0["Exists Clause"] e0f0[["?lang_label = 'tokipona'"]] e0f0 --> e0v1 e0v2 --"rdfs:label"--> e0v1 e0v2("?item"):::projected e0v1("?lang_label"):::projected end f0--EXISTS--> f0e0 f0 --> v2 f0 --> v3 f0 --> c2 f1[["?lang_label = 'tokipona'"]] f1 --> v2 v3 --"rdfs:label"--> v2