Ups, I replied to Houcemeddine Turki with practically the same answer that Mbch331. Excuse me, I didn't check it.

Regards,
Iván

On 04/03/18 14:10, Mbch331 wrote:
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata



_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata


--
Iván Hernández Cazorla
Miembro de Wikimedia España

_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to