LinguaLibre
Difference between revisions of "Stats/Languages/pl"
< LinguaLibre:Stats
(Created page with "== Zobacz też ==") |
(Updating to match new version of source page) |
||
Line 2: | Line 2: | ||
{{LinguaLibre:Stats/Menu}} | {{LinguaLibre:Stats/Menu}} | ||
== Języki według liczby nagrań == | == Języki według liczby nagrań == | ||
− | <query _pagination="10" lang=" Element (Qid języka)" langLabel=" Język" code=" Kod ISO 639-3" | + | <query _pagination="10" lang=" Element (Qid języka)" langLabel=" Język" code=" Kod ISO 639-3" numRecords=" Liczba nagrań" numSpeakers=" Liczba spikerów"> |
− | SELECT ?lang ?langLabel ?code ? | + | SELECT ?lang ?langLabel ?code ?numRecords ?numSpeakers WHERE { |
{ | { | ||
− | SELECT ?lang (COUNT(?record) as ? | + | SELECT ?lang (COUNT(?record) as ?numRecords) WHERE { |
?record prop:P4 ?lang ; prop:P2 entity:Q2 | ?record prop:P4 ?lang ; prop:P2 entity:Q2 | ||
} GROUP BY ?lang | } 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 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | SELECT ?lang | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | ?lang prop:P2 entity:Q4 | + | ?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> | ||