LinguaLibre
Difference between revisions of "List of languages/id"
Bahasa yang didukung di LinguaLibre dapat ditemukan melalui alat penelitian, contoh: Search:Cantonese untuk bahasa khusus ini. Anda juga dapat menelusuri daftar di bawah ini untuk ikhtisar cepat dari semua bahasa yang didukung. Daftar di bawah ini mencakup nilai yang berguna bagi bot dan pengembang.
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 6: | Line 6: | ||
| style="padding-right:.5em;"| | | style="padding-right:.5em;"| | ||
<query _pagination="100" language="LinguaLibre Qid" languageLabel="Nama bahasa" wikidata="Wikidata Qid" code="Kode ISO 639-3" wiki="Wiki" records="Rekaman" words="Kata" percent="%"> | <query _pagination="100" language="LinguaLibre Qid" languageLabel="Nama bahasa" wikidata="Wikidata Qid" code="Kode ISO 639-3" wiki="Wiki" records="Rekaman" words="Kata" percent="%"> | ||
− | SELECT | + | SELECT |
− | ?language ?wikidata ?languageLabel | + | ?language (SAMPLE(?wikidataGroup) as ?wikidata) |
− | ( | + | (SAMPLE(?languageLabelGroup) as ?languageLabel) (SAMPLE(?codeGroup) as |
− | ( | + | ?code) (SAMPLE(?wikiGroup) as ?wiki) |
− | (ROUND(1000*?words/?records)/10 AS ?percent) | + | (SAMPLE(ROUND(1000*?words/?records)/10) AS ?percent) |
WHERE { | WHERE { | ||
− | ?language prop:P2 entity:Q4 . | + | { |
− | + | SELECT ?language (SAMPLE(?recordLabelGroup) as ?words) | |
− | + | (COUNT(?record) AS ?records) { | |
− | + | { | |
− | + | SELECT ?language (COUNT(DISTINCT ?recordLabel) as | |
− | + | ?recordLabelGroup) WHERE { | |
− | + | ?record prop:P4 ?language . # Filter: P4 'language' is Q21 'French' | |
− | + | ||
− | ? | + | FILTER EXISTS { |
− | # | + | ?language prop:P2 entity:Q4 .# Filter: P2 'instance of' is |
+ | Q4 'language' | ||
+ | ?record prop:P2 entity:Q2 . # Filter: P2 'instance of' is | ||
+ | Q2 'record' | ||
+ | } | ||
+ | |||
+ | ?record rdfs:label ?recordLabel. # Assign value: label to ?itemLabel | ||
+ | } GROUP BY ?language | ||
+ | } | ||
+ | |||
+ | ?record prop:P4 ?language . # Filter: P4 'language' is Q21 'French' | ||
+ | ?record prop:P2 entity:Q2 . # Filter: P2 'instance of' is Q2 'record' | ||
+ | } GROUP BY ?language | ||
+ | } | ||
+ | |||
+ | ?language rdfs:label ?languageLabelGroup FILTER | ||
+ | (lang(?languageLabelGroup) = "[AUTO_LANGUAGE]"). | ||
+ | OPTIONAL { ?language prop:P12 ?wikidataGroup } # Assign value: | ||
+ | language's P12 'wikidata id' into ?wikidata | ||
+ | OPTIONAL { ?language prop:P13 ?codeGroup } # Assign value: | ||
+ | language's P13 'ISO 639-3' into ?wikidata | ||
+ | OPTIONAL { ?language prop:P17 ?wikiGroup } | ||
+ | |||
+ | |||
} | } | ||
− | GROUP BY ?language | + | GROUP BY ?language |
ORDER BY DESC(?records) | ORDER BY DESC(?records) | ||
</query> | </query> |
Revision as of 16:24, 11 March 2023
Daftar bahasa dengan rekaman
|
|
Daftar bahasa yang Anda dapat rekam
|
|
Lihat juga
- LinguaLibre:Sistem kode bahasa yang digunakan di seluruh LinguaLibre
- Bantuan:Tambahkan bahasa baru
- Bantuan:Kueri Lingua Libre
- Bantuan:Sparql
- Spesial:DaftarProperti
- LinguaLibre:Penutur
- LinguaLibre:Rekaman