Translations
Difference between revisions of "LinguaLibre:Stats/7/fr"
(Created page with "BIND( IF( isBLANK(?lang), entity:Q4, ?lang ) as ?language ). SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" ....") |
WikiLucas00 (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | where { | |
− | + | ?record prop:P2 entity:Q2 . | |
− | + | ?record prop:P4 ?language . | |
− | + | OPTIONAL { ?language prop:P13 ?code } | |
− | + | OPTIONAL { ?language rdfs:label ?languageLabel . FILTER (lang(?languageLabel) = "fr"). } | |
− | + | } | |
− | + | GROUP BY ?language ?languageLabel ?code | |
− | + | ORDER BY DESC(?nb) | |
− | + | </query><!-- Just insert corresponding language code instead of "en" --> | |
− | </query> |
Latest revision as of 23:47, 10 October 2020
where {
?record prop:P2 entity:Q2 . ?record prop:P4 ?language . OPTIONAL { ?language prop:P13 ?code } OPTIONAL { ?language rdfs:label ?languageLabel . FILTER (lang(?languageLabel) = "fr"). }
} GROUP BY ?language ?languageLabel ?code ORDER BY DESC(?nb) </query>