LinguaLibre

Difference between revisions of "Stats/Languages/oc"

< LinguaLibre:Stats

(Created page with "Item (Qid de la lenga)")
(Updating to match new version of source page)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{LinguaLibre:Stats/Menu}}
 
{{LinguaLibre:Stats/Menu}}
 
== Lengas per nombre d'enregistraments ==
 
== Lengas per nombre d'enregistraments ==
<query _pagination="10" lang=" Item (Qid de la lenga)" langLabel=" Lenga" code=" còdi ISO 639-3" nb=" Nombre d'enregistraments">
+
<query _pagination="10" lang=" Item (Qid de la lenga)" langLabel=" Lenga" code=" còdi ISO 639-3" numRecords=" Nombre d'enregistraments" numSpeakers=" Nombre de locutors">
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) = "[AUTO_LANGUAGE]").
+
  {
  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 }
 +
         
 
   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)
GROUP BY ?lang ?langLabel ?code
 
ORDER BY DESC(?nb)
 
 
</query>
 
</query>
  
== Lengas per nombre de locutors ==
+
== See also ==
<query _pagination="10" lang=" Item (Qid de la lenga)" 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) = "[AUTO_LANGUAGE]").
+
[[Category:Lingua Libre:DataViz{{#translation:}}]]
  OPTIONAL { ?record prop:P4 ?lang ; prop:P5 ?recorder ; prop:P2 entity:Q2 . }
 
  OPTIONAL { ?lang prop:P13 ?code }
 
  SERVICE wikibase:label {
 
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
 
    ?lang rdfs:label ?langLabel .
 
  }
 
}
 
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:

Lengas per nombre d'enregistraments

... Loading ...

See also