LinguaLibre
Difference between revisions of "Stats"
Tag: Undo |
|||
Line 4: | Line 4: | ||
</translate> | </translate> | ||
<query _pagination="10" language="Item" name="Language" nb="Number of records"> | <query _pagination="10" language="Item" name="Language" nb="Number of records"> | ||
− | select (COUNT(?record) as ?nb) | + | select ?language (if( ?language = entity:Q4, '???', ?languageLabel ) as ?name) (COUNT(?record) as ?nb) |
where { | where { | ||
?record prop:P2 entity:Q2 . | ?record prop:P2 entity:Q2 . | ||
+ | ?record prop:P4 ?lang . | ||
+ | |||
+ | BIND( IF( isBLANK(?lang), entity:Q4, ?lang ) as ?language ). | ||
+ | |||
+ | SERVICE wikibase:label { | ||
+ | bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | ||
+ | ?language rdfs:label ?languageLabel. | ||
+ | } | ||
} | } | ||
+ | GROUP BY ?language ?languageLabel | ||
+ | ORDER BY DESC(?nb) | ||
</query> | </query> | ||
<translate> | <translate> | ||
− | |||
== The most prolific speakers == <!--T:2--> | == The most prolific speakers == <!--T:2--> | ||
</translate> | </translate> |
Revision as of 10:01, 24 December 2018
Number of records per languages
The most prolific speakers