Translations:Wikidata Query Service/User Manual/30/en

You specify your preferred language(s) for the label with one or more of $code triples. Each string can contain one or more language codes, separated by commas. WDQS considers languages in the order in which you specify them. If no label is available in any of the specified languages, the Q-id of the entity (without any prefix) is its label.