LinguaLibre

Difference between revisions of "Stats"

(Marked this version for translation)
(+Languages)
(3 intermediate revisions by one other user not shown)
Line 26: Line 26:
 
         ?record prop:P2 entity:Q2 .
 
         ?record prop:P2 entity:Q2 .
 
         ?record prop:P4 ?lang .
 
         ?record prop:P4 ?lang .
 
      <!--T:7-->
 
 
BIND( IF( isBLANK(?lang), entity:Q4, ?lang ) as ?language ).
 
BIND( IF( isBLANK(?lang), entity:Q4, ?lang ) as ?language ).
 
        
 
        
Line 42: Line 40:
  
 
<!--T:8-->
 
<!--T:8-->
<query _pagination="10" locutor="Item" locutorLabel="Speaker" nb="Number of records">
+
<query _pagination="10" locutor="Item" locutorLabel="Speaker" nb="Number of records" languages="Spoken languages">
     select ?locutor ?locutorLabel (COUNT(?record) as ?nb)
+
     select ?locutor ?locutorLabel (COUNT(?record) as ?nb) (GROUP_CONCAT(DISTINCT ?langLabel;separator=", ") as ?languages)
 
     where {
 
     where {
 
         ?record prop:P2 entity:Q2 .
 
         ?record prop:P2 entity:Q2 .
Line 49: Line 47:
 
         ?record prop:P4 ?lang .
 
         ?record prop:P4 ?lang .
 
         #extra:{"type": "wikibase-item", "filter":"Q4", "label": "P4", "multiple": true} ?record prop:P4 entity:[EXTRA] .
 
         #extra:{"type": "wikibase-item", "filter":"Q4", "label": "P4", "multiple": true} ?record prop:P4 entity:[EXTRA] .
 
      <!--T:9-->
 
 
BIND( IF( isBLANK(?lang), entity:Q4, ?lang ) as ?language ).
 
BIND( IF( isBLANK(?lang), entity:Q4, ?lang ) as ?language ).
 
        
 
        
 
         SERVICE wikibase:label {
 
         SERVICE wikibase:label {
 
             bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
 
             bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
 +
            ?lang rdfs:label ?langLabel .
 +
            ?locutor rdfs:label ?locutorLabel .
 
         }
 
         }
 
     }
 
     }
Line 73: Line 71:
 
        
 
        
 
         ?record prop:P7 ?transcription.
 
         ?record prop:P7 ?transcription.
 
        <!--T:11-->
 
 
SERVICE wikibase:label {
 
SERVICE wikibase:label {
 
             bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
 
             bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .

Revision as of 09:27, 28 February 2019

Other languages:
Bahasa Indonesia • ‎Bahasa Melayu • ‎Bali • ‎Bikol Central • ‎Deutsch • ‎English • ‎Esperanto • ‎Igbo • ‎Türkçe • ‎brezhoneg • ‎català • ‎español • ‎français • ‎lumbaart • ‎occitan • ‎polski • ‎română • ‎sicilianu • ‎svenska • ‎македонски • ‎русский • ‎українська • ‎עברית • ‎বাংলা • ‎తెలుగు • ‎中文 • ‎日本語 • ‎ꯃꯤꯇꯩ ꯂꯣꯟ

Global stats

... Loading ...

Number of records per languages

... Loading ...

The most prolific speakers

... Loading ...

The most recorded words

... Loading ...