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)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
+
{{LinguaLibre:Stats/Menu}}
{{Colored box
 
| background-content-color =
 
| background-title-color = #3366CC
 
| icon = Icon Stats color.svg
 
| title =  View statistics about:
 
| title-color = white
 
| link =
 
| link-color =
 
| view-text =
 
| content = <center>
 
{{Clickable button 2|Special:MyLanguage/LL:Stats| Global stats|class=mw-ui-progressive}}
 
{{Clickable button 2|Special:MyLanguage/LL:Stats/Languages| Languages|class=mw-ui-progressive}}
 
{{Clickable button 2|Special:MyLanguage/LL:Stats/Speakers| Speakers|class=mw-ui-progressive}}
 
{{Clickable button 2|Special:MyLanguage/LL:Stats/Time| Chronological|class=mw-ui-progressive}}
 
</center>
 
}}
 
 
== Languages by number of recordings ==
 
== Languages by number of recordings ==
<query _pagination="10" lang=" Item (Language Qid)" langLabel=" Language" code=" ISO 639-3 code" nb=" Number of records">
+
<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 ( count(DISTINCT ?record) as ?nb ) WHERE {
+
SELECT ?lang ?langLabel ?code ?numRecords ?numSpeakers WHERE {
  ?lang prop:P2 entity:Q4 ; rdfs:label ?langLabel . FILTER (lang(?langLabel) = "en").
+
  {
  OPTIONAL { ?record prop:P4 ?lang ; prop:P2 entity:Q2 . }
+
    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 }
}
+
         
GROUP BY ?lang ?langLabel ?code
+
  SERVICE wikibase:label {
ORDER BY DESC(?nb)
+
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
 +
    ?lang rdfs:label ?langLabel .
 +
  }
 +
} ORDER BY DESC(?numRecords)
 
</query>
 
</query>
  
== Languages by number of speakers ==
+
== See also ==
<query _pagination="10" lang=" Item (Language Qid)" langLabel=" Language" code=" ISO 639-3 code" nb=" Number of speakers">
+
* [[LinguaLibre:List of languages]]
SELECT ?lang ?langLabel ?code ( count(DISTINCT ?recorder) as ?nb ) WHERE {
+
 
  ?lang prop:P2 entity:Q4 ; rdfs:label ?langLabel . FILTER (lang(?langLabel) = "en").
+
[[Category:Lingua Libre:DataViz{{#translation:}}]]
  OPTIONAL { ?record prop:P4 ?lang ; prop:P5 ?recorder ; prop:P2 entity:Q2 . }
 
  OPTIONAL { ?lang prop:P13 ?code }
 
}
 
GROUP BY ?lang ?langLabel ?code
 
ORDER BY DESC(?nb)
 
</query>
 

Latest revision as of 17:27, 5 July 2024

Other languages:
Bahasa Indonesia • ‎Bahasa Melayu • ‎Deutsch • ‎English • ‎Esperanto • ‎Igbo • ‎Toki Pona • ‎brezhoneg • ‎euskara • ‎français • ‎galego • ‎occitan • ‎polski • ‎sicilianu • ‎svenska • ‎Ελληνικά • ‎башҡортса • ‎македонски • ‎русский • ‎עברית • ‎বাংলা • ‎தமிழ் • ‎తెలుగు
View statistics about:

Languages by number of recordings

... Loading ...

See also