LinguaLibre
Difference between revisions of "List of languages"
Supported languages on LinguaLibre can be found via the research tool, example: Search:Cantonese for this specific language. You can also browse the lists below for fast overview of all supported languages. The lists below includes values useful to bots and developers.
m |
m |
||
Line 9: | Line 9: | ||
SELECT | SELECT | ||
?language ?wikidata ?languageLabel ?code ?wiki | ?language ?wikidata ?languageLabel ?code ?wiki | ||
− | (COUNT( | + | (COUNT(?record) AS ?records) |
− | (COUNT(DISTINCT(? | + | (COUNT(DISTINCT(?recordLabel)) AS ?words) |
(ROUND(1000*?words/?records)/10 AS ?percent) | (ROUND(1000*?words/?records)/10 AS ?percent) | ||
WHERE { | WHERE { | ||
− | ? | + | ?language prop:P2 entity:Q4 . # Filter: P2 'instance of' is Q4 'language' |
− | ? | + | OPTIONAL { ?language prop:P12 ?wikidata } # Assign value: language's P12 'wikidata id' into ?wikidata |
− | OPTIONAL { ?language prop: | + | OPTIONAL { ?language prop:P13 ?code } # Assign value: language's P13 'ISO 639-3' into ?wikidata |
− | |||
OPTIONAL { ?language prop:P17 ?wiki } | OPTIONAL { ?language prop:P17 ?wiki } | ||
OPTIONAL { ?language rdfs:label ?languageLabel . | OPTIONAL { ?language rdfs:label ?languageLabel . | ||
FILTER (lang(?languageLabel) = "[AUTO_LANGUAGE]"). } | FILTER (lang(?languageLabel) = "[AUTO_LANGUAGE]"). } | ||
− | + | ?record prop:P4 ?language . # Filter: P4 'language' is Q21 'French' | |
+ | ?record prop:P2 entity:Q2 . # Filter: P2 'instance of' is Q2 'record' | ||
+ | ?record rdfs:label ?recordLabel. # Assign value: label to ?itemLabel | ||
+ | # FILTER ( (COUNT(record)) > 0). | ||
} | } | ||
GROUP BY ?language ?wikidata ?languageLabel ?code ?wiki | GROUP BY ?language ?wikidata ?languageLabel ?code ?wiki |
Revision as of 23:39, 8 January 2022
List of languages with recordings
|
|
List of languages for which you can record
|
|