LinguaLibre
Difference between revisions of "Stats/Languages/en"
< LinguaLibre:Stats
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
− | == | + | {{LinguaLibre:Stats/Menu}} |
− | <query _pagination="10" | + | == Languages by number of recordings == |
− | + | <query _pagination="10" lang=" Item (Language Qid)" langLabel=" Language" code=" ISO 639-3 code" numRecords=" Number of records" numSpeakers=" Number of speakers"> | |
− | + | SELECT ?lang ?langLabel ?code ?numRecords ?numSpeakers WHERE { | |
− | + | { | |
− | ?record prop:P4 ? | + | SELECT ?lang (COUNT(?record) as ?numRecords) WHERE { |
− | OPTIONAL { ? | + | ?record prop:P4 ?lang ; prop:P2 entity:Q2 |
− | + | } GROUP BY ?lang | |
− | } | + | } |
− | + | ||
− | ORDER BY DESC(? | + | { |
− | </query | + | SELECT ?lang (COUNT(DISTINCT ?recorder) as ?numSpeakers) WHERE { |
+ | ?record prop:P2 entity:Q2 ; | ||
+ | prop:P4 ?lang ; | ||
+ | prop:P5 ?recorder | ||
+ | } GROUP BY ?lang | ||
+ | } | ||
+ | |||
+ | ?lang prop:P2 entity:Q4 | ||
+ | |||
+ | OPTIONAL { ?lang prop:P13 ?code } | ||
+ | |||
+ | SERVICE wikibase:label { | ||
+ | bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | ||
+ | ?lang rdfs:label ?langLabel . | ||
+ | } | ||
+ | } ORDER BY DESC(?numRecords) | ||
+ | </query> | ||
− | == | + | == See also == |
− | + | * [[LinguaLibre:List of languages]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[Category:Lingua Libre:DataViz{{#translation:}}]] | |
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− |