This should do the trick:
SELECT ?_tre_humain ?_tre_humainLabel WHERE {
?_tre_humain rdfs:label ?_tre_humainLabel .
?_tre_humain wdt:P31 wd:Q34770.
FILTER (lang(?_tre_humainLabel)="aeb-arab")
}
Mbch331
Op 4-3-2018 om 14:57 schreef abdelwaheb turki:
Dear Mr. or Ms.,
I thank you for your efforts. I have written the following query to find the languages
that have a label in Tunisian in Wikidata:
SELECT ?_tre_humain ?_tre_humainLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "aeb-arab". }
?_tre_humain wdt:P31 wd:Q34770.
}
However, I found that many languages not having a label in Tunisian are sorted as well.
For these languages, the featured label is the Wikidata ID of the language. I ask about
how to eliminate these languages from the results of my wikidata query.
Yours Sincerely,
Houcemeddine Turki
_______________________________________________
Wikidata mailing list
Wikidata(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata