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)
Line 1: Line 1:
 
<languages/>
 
<languages/>
== Number of records per languages ==
+
== Languages by number of recordings ==
<query _pagination="10" language="Item (Language Qid)" code="ISO 639-3 code" nb="Number of records">
+
<query _pagination="10" lang=" Item (Language Qid)" langLabel=" Language" code=" ISO 639-3 code" nb=" Number of records">
select ?language ?languageLabel ?code (COUNT(DISTINCT ?record) as ?nb)
+
SELECT ?lang ?langLabel ?code ( count(DISTINCT ?record) as ?nb ) WHERE {
where {
 
  ?record prop:P2 entity:Q2 .
 
  ?record prop:P4 ?language .
 
  OPTIONAL { ?language prop:P13 ?code }
 
  OPTIONAL { ?language rdfs:label ?languageLabel . FILTER (lang(?languageLabel) = "en"). }
 
}
 
GROUP BY ?language ?languageLabel ?code
 
ORDER BY DESC(?nb)
 
</query><!-- Just insert corresponding language code instead of "en" -->
 
 
 
== Languages by numbers of record ==
 
<query>
 
SELECT ?lang ?langLabel ( count(DISTINCT ?record) as ?nb ) WHERE {
 
 
   ?lang prop:P2 entity:Q4 ; rdfs:label ?langLabel . FILTER (lang(?langLabel) = "en").
 
   ?lang prop:P2 entity:Q4 ; rdfs:label ?langLabel . FILTER (lang(?langLabel) = "en").
 
   OPTIONAL { ?record prop:P4 ?lang ; prop:P2 entity:Q2 . }
 
   OPTIONAL { ?record prop:P4 ?lang ; prop:P2 entity:Q2 . }
 +
  OPTIONAL { ?lang prop:P13 ?code }
 
}
 
}
GROUP BY ?lang ?langLabel
+
GROUP BY ?lang ?langLabel ?code
 
ORDER BY DESC(?nb)
 
ORDER BY DESC(?nb)
 
</query>
 
</query>
  
== Languages by numbers of recorder ==
+
== Languages by number of speakers ==
<query>
+
<query _pagination="10" lang=" Item (Language Qid)" langLabel=" Language" code=" ISO 639-3 code" nb=" Number of speakers">
SELECT ?lang ?langLabel ( count(DISTINCT ?recorder) as ?nb ) WHERE {
+
SELECT ?lang ?langLabel ?code ( count(DISTINCT ?recorder) as ?nb ) WHERE {
 
   ?lang prop:P2 entity:Q4 ; rdfs:label ?langLabel . FILTER (lang(?langLabel) = "en").
 
   ?lang prop:P2 entity:Q4 ; rdfs:label ?langLabel . FILTER (lang(?langLabel) = "en").
 
   OPTIONAL { ?record prop:P4 ?lang ; prop:P5 ?recorder ; prop:P2 entity:Q2 . }
 
   OPTIONAL { ?record prop:P4 ?lang ; prop:P5 ?recorder ; prop:P2 entity:Q2 . }
 +
  OPTIONAL { ?lang prop:P13 ?code }
 
}
 
}
GROUP BY ?lang ?langLabel
+
GROUP BY ?lang ?langLabel ?code
 
ORDER BY DESC(?nb)
 
ORDER BY DESC(?nb)
 
</query>
 
</query>

Revision as of 16:38, 4 August 2021

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

Languages by number of recordings

... Loading ...

Languages by number of speakers

... Loading ...