LinguaLibre
Difference between revisions of "Records"
m |
|||
Line 4: | Line 4: | ||
<!--T:2--> | <!--T:2--> | ||
+ | {| style="width:100%" | ||
+ | |- style="vertical-align:top;padding:.5em;" | ||
+ | | style="padding-right:.5em;"| | ||
<query _pagination="100" record="Item" audio="Record" recordLabel="Transcription" locutorLabel="Speaker" langLabel="Language" levelLabel="Language level"> | <query _pagination="100" record="Item" audio="Record" recordLabel="Transcription" locutorLabel="Speaker" langLabel="Language" levelLabel="Language level"> | ||
select distinct ?record ?audio ?recordLabel ?locutorLabel (if( ?language = entity:Q4, '???', ?languageLabel ) as ?langLabel) (if( ?languageLevel = entity:Q5 || !BOUND(?languageLevel), '???', ?languageLevelLabel ) as ?levelLabel) | select distinct ?record ?audio ?recordLabel ?locutorLabel (if( ?language = entity:Q4, '???', ?languageLabel ) as ?langLabel) (if( ?languageLevel = entity:Q5 || !BOUND(?languageLevel), '???', ?languageLevelLabel ) as ?levelLabel) | ||
Line 32: | Line 35: | ||
} | } | ||
} ORDER BY ?recordLabel LIMIT 1000 | } ORDER BY ?recordLabel LIMIT 1000 | ||
− | </query></translate> | + | </query> |
+ | | | ||
+ | |||
+ | <query _pagination="100" records="Number of records"> | ||
+ | select (COUNT(DISTINCT ?record) as ?records) | ||
+ | where { | ||
+ | ?record prop:P2 entity:Q2 . | ||
+ | } | ||
+ | </query> | ||
+ | |||
+ | |} | ||
+ | |||
+ | </translate> |
Revision as of 14:23, 7 January 2022
For performance reasons, the maximum number of audio recording shown at a time is 1000. This current page will be enhanced in the future.
|
|