Translations:Tutorial/25/en: Difference between revisions

From Resistance in Belgium
(Importing a new version from external source)
 
(No difference)

Latest revision as of 14:49, 1 April 2025

Message definition (Tutorial)
When querying a Wikibase dataset with SPARQL, the results may sometimes display <b>identifiers</b> (e.g. <code>Q102</code>) instead of explicit text (e.g. <code>Anderlecht</code>). To make the results more readable, you can retrieve the <b>labels</b> (i.e., names) in the language of your choice (French, Dutch, German, or English).  
Simply use <code>SERVICE wikibase:label</code> at the end of your query to display values in your preferred language.

When querying a Wikibase dataset with SPARQL, the results may sometimes display identifiers (e.g. Q102) instead of explicit text (e.g. Anderlecht). To make the results more readable, you can retrieve the labels (i.e., names) in the language of your choice (French, Dutch, German, or English). Simply use SERVICE wikibase:label at the end of your query to display values in your preferred language.