SPARQL/WIKIDATA Language links and Badges

Language links
The code  links an item to the language link. The code  within the language link retrieves the language. The code  within the language link retrieves the wikimedia project, like .

Badges
Badges are a kind of marker attached to a language link, which could identify, for example, that the article is a on a specific site. They do not describe the external entity but the page on the specific site.

Here a query that ranks the wikimedia projects badges.

The code  (within the language link) retrieves the wikimedia project, like . The code  (within the language link) retrieves the badge, like. The code  links an item to the language link.