Vous pouvez maintenant exclure automatiquement les mots que vous avez déjà enregistrés ! Plus d'informations ici.

 Actions

LinguaLibre

Difference between revisions of "Records"

From Lingua Libre

(Page créée avec « {{DataViz | query = select ?record ?recordLabel ?locutorLabel ?languageLabel ?languageLevelLabel where { ?record prop:P2 entity:Q2 .... »)
 
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DataViz
+
<languages/>
| query = select ?record ?recordLabel ?locutorLabel ?languageLabel ?languageLevelLabel
+
<translate><!--T:1-->
            where {
+
For performance reasons, the maximum number of audio recording shown at a time is 1000. This current page will be enhanced in the future. You can [https://lingualibre.fr/datasets/ download datasets here].  
              ?record prop:P2 entity:Q2 .
 
              ?record prop:P5 ?locutor .
 
              ?record prop:P4 ?language .
 
  
              ?locutor llp:P4 ?languageStatement .
+
<!--T:2-->
              ?languageStatement llv:P4 ?language .
+
<query _pagination="100" record="Item" audio="Record" recordLabel="Transcription" locutorLabel="Speaker" langLabel="Language" levelLabel="Language level">
              ?languageStatement llq:P13 ?languageLevel .
+
    select distinct ?record ?audio ?recordLabel ?locutorLabel (if( ?language = entity:Q4, '???', ?languageLabel ) as ?langLabel) (if( ?languageLevel = entity:Q5 || !BOUND(?languageLevel), '???', ?languageLevelLabel ) as ?levelLabel)
 
+
    where {
              SERVICE wikibase:label {
+
        ?record prop:P2 entity:Q2 .
                bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr,en" .
+
        ?record prop:P5 ?locutor .
              }
+
        ?record prop:P3 ?audio .
 
+
        #extra:{"type": "wikibase-item", "filter":"Q3", "label": "P5", "multiple": true} ?record prop:P5 entity:[EXTRA] .
             } ORDER BY ?languageLabel ?languageLevelLabel
+
        ?record prop:P4 ?lang .
}}
+
        #extra:{"type": "wikibase-item", "filter":"Q4", "label": "P4", "multiple": true} ?record prop:P4 entity:[EXTRA] .
 +
        BIND( IF( isBLANK(?lang), entity:Q4, ?lang ) as ?language ).
 +
      OPTIONAL {
 +
          ?locutor llp:P4 ?languageStatement .
 +
          ?languageStatement llv:P4 ?language .
 +
          ?languageStatement llq:P16 ?level .
 +
          #extra:{"type": "wikibase-item", "filter":"Q5", "label": "P16", "multiple": true} ?languageStatement llq:P16 entity:[EXTRA] .
 +
          BIND( IF( isBLANK(?level), entity:Q5, ?level ) as ?languageLevel ).
 +
}
 +
         
 +
        ?record prop:P7 ?transcription.
 +
        #extra:{"type": "string", "label": "P7"}  filter contains(lcase(?transcription), lcase('[EXTRA]')).
 +
        SERVICE wikibase:label {
 +
            bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
 +
            ?languageLevel rdfs:label ?languageLevelLabel.
 +
            ?record rdfs:label ?recordLabel.
 +
            ?locutor rdfs:label ?locutorLabel.
 +
             ?language rdfs:label ?languageLabel.
 +
        }
 +
    } ORDER BY ?recordLabel LIMIT 1000
 +
</query></translate>

Latest revision as of 17:20, 21 February 2020

Other languages:
Deutsch • ‎English • ‎français • ‎日本語 • ‎русский

For performance reasons, the maximum number of audio recording shown at a time is 1000. This current page will be enhanced in the future. You can download datasets here.

... Loading ...