LinguaLibre
Difference between revisions of "Stats/Languages/eu"
< LinguaLibre:Stats
Xabier Cañas (talk | contribs) (Created page with "== Hizkuntzak grabaketa kopuruaren arabera ==") |
(Updating to match new version of source page) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{LinguaLibre:Stats/Menu}} | {{LinguaLibre:Stats/Menu}} | ||
== Hizkuntzak grabaketa kopuruaren arabera == | == Hizkuntzak grabaketa kopuruaren arabera == | ||
− | <query _pagination="10" lang=" Item (Language Qid)" langLabel=" Language" code=" ISO 639-3 code" | + | <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 ( | + | SELECT ?lang ?langLabel ?code ?numRecords ?numSpeakers WHERE { |
− | + | { | |
− | + | SELECT ?lang (COUNT(?record) as ?numRecords) WHERE { | |
+ | ?record prop:P4 ?lang ; prop:P2 entity:Q2 | ||
+ | } GROUP BY ?lang | ||
+ | } | ||
+ | |||
+ | { | ||
+ | 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 } | OPTIONAL { ?lang prop:P13 ?code } | ||
+ | |||
SERVICE wikibase:label { | SERVICE wikibase:label { | ||
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | ||
?lang rdfs:label ?langLabel . | ?lang rdfs:label ?langLabel . | ||
} | } | ||
− | } | + | } ORDER BY DESC(?numRecords) |
− | |||
− | ORDER BY DESC(? | ||
</query> | </query> | ||
− | == | + | == See also == |
− | + | * [[LinguaLibre:List of languages]] | |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Lingua Libre:DataViz{{#translation:}}]] | [[Category:Lingua Libre:DataViz{{#translation:}}]] |