LinguaLibre
Difference between revisions of "Stats/Languages/fr"
< LinguaLibre:Stats
WikiLucas00 (talk | contribs) (Created page with "Évolution chronologique") |
(Updating to match new version of source page) |
||
Line 20: | Line 20: | ||
<query _pagination="10" lang=" Élément (identifiant de la langue)" langLabel=" Langue" code=" code ISO 639-3" nb=" Nombre d'enregistrements"> | <query _pagination="10" lang=" Élément (identifiant de la langue)" langLabel=" Langue" code=" code ISO 639-3" nb=" Nombre d'enregistrements"> | ||
SELECT ?lang ?langLabel ?code ( count(DISTINCT ?record) as ?nb ) WHERE { | SELECT ?lang ?langLabel ?code ( count(DISTINCT ?record) as ?nb ) WHERE { | ||
− | ?lang prop:P2 entity:Q4 ; rdfs:label ?langLabel . FILTER (lang(?langLabel) = " | + | ?lang prop:P2 entity:Q4 ; rdfs:label ?langLabel . FILTER (lang(?langLabel) = "[AUTO_LANGUAGE]"). |
OPTIONAL { ?record prop:P4 ?lang ; prop:P2 entity:Q2 . } | OPTIONAL { ?record prop:P4 ?lang ; prop:P2 entity:Q2 . } | ||
OPTIONAL { ?lang prop:P13 ?code } | OPTIONAL { ?lang prop:P13 ?code } | ||
+ | SERVICE wikibase:label { | ||
+ | bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | ||
+ | ?lang rdfs:label ?langLabel . | ||
+ | } | ||
} | } | ||
GROUP BY ?lang ?langLabel ?code | GROUP BY ?lang ?langLabel ?code | ||
ORDER BY DESC(?nb) | ORDER BY DESC(?nb) | ||
</query> | </query> | ||
+ | |||
== Langues par nombre de locuteurs et locutrices == | == Langues par nombre de locuteurs et locutrices == |