LinguaLibre
Difference between revisions of "Stats/Languages"
< LinguaLibre:Stats
Line 54: | Line 54: | ||
== Signed languages by signers and videos == | == Signed languages by signers and videos == | ||
</translate> | </translate> | ||
− | <query _pagination="10" lang="<translate>Item (Language Qid)</translate>" langLabel="<translate> Language</translate>" code="<translate> ISO 639-3 code</translate>" | + | <query _pagination="10" lang="<translate>Item (Language Qid)</translate>" langLabel="<translate> Language</translate>" code="<translate> ISO 639-3 code</translate>" signers="<translate> Number of signers</translate>" videos="<translate> Number of videos</translate>"> |
− | SELECT ?lang ?langLabel ?code ?signers ?videos | + | SELECT ?lang ?langLabel ?code (COUNT(DISTINCT ?signer) as ?signers) (COUNT(?record) as ?videos) |
WHERE { | WHERE { | ||
− | ?lang prop:P2 entity:Q4 ; | + | ?lang prop:P2 entity:Q4 ; # instance of (P2) is language (Q4) |
− | prop:P24 entity:Q88890 .# of type (P24) hand signed (Q88890) | + | prop:P24 entity:Q88890 . # of type (P24) hand signed (Q88890) |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
OPTIONAL { ?lang prop:P13 ?code } | OPTIONAL { ?lang prop:P13 ?code } | ||
+ | ?record prop:P4 ?lang ; # language (P4) is ?lang | ||
+ | prop:P5 ?signer. # instance of (P2) is speaker (Q3) | ||
+ | ?record prop:P2 entity:Q2. # instance of (P2) is record (Q2) | ||
SERVICE wikibase:label { | SERVICE wikibase:label { | ||
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | ||
− | |||
} | } | ||
− | } ORDER BY DESC(?videos) | + | } |
+ | GROUP BY ?lang ?langLabel ?code | ||
+ | ORDER BY DESC(?videos) | ||
</query> | </query> | ||
Revision as of 12:08, 16 October 2023
Languages by number of recordings
Languages by number of speakers