LinguaLibre
Difference between revisions of "List of languages/br"
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.
(Created page with "Niver a yezhoù") |
(Updating to match new version of source page) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#Subtitle:'''Supported languages on LinguaLibre''' can be found via the research tool, example: [{{SERVER}}/Special:Search?search=Cantonese 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.}} | {{#Subtitle:'''Supported languages on LinguaLibre''' can be found via the research tool, example: [{{SERVER}}/Special:Search?search=Cantonese 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.}} | ||
<languages/> | <languages/> | ||
− | == | + | == Roll ar yezhoù gant enrolladennoù == |
{| style="width:100%" | {| style="width:100%" | ||
|- style="vertical-align:top;padding:.5em;" | |- style="vertical-align:top;padding:.5em;" | ||
Line 8: | Line 8: | ||
SELECT | SELECT | ||
?language (SAMPLE(?wikidataGroup) as ?wikidata) | ?language (SAMPLE(?wikidataGroup) as ?wikidata) | ||
− | (SAMPLE(?languageLabelGroup) as ?languageLabel) (SAMPLE(?codeGroup) as | + | (SAMPLE(?languageLabelGroup) as ?languageLabel) (SAMPLE(?codeGroup) as ?code) (SAMPLE(?wikiGroup) as ?wiki) |
− | ?code) (SAMPLE(?wikiGroup) as ?wiki) | ||
(SAMPLE(ROUND(1000*?words/?records)/10) AS ?percent) | (SAMPLE(ROUND(1000*?words/?records)/10) AS ?percent) | ||
WHERE { | WHERE { | ||
Line 16: | Line 15: | ||
(COUNT(?record) AS ?records) { | (COUNT(?record) AS ?records) { | ||
{ | { | ||
− | SELECT ?language (COUNT(DISTINCT ?recordLabel) as | + | SELECT ?language (COUNT(DISTINCT ?recordLabel) as ?recordLabelGroup) WHERE { |
− | ?recordLabelGroup) WHERE { | ||
?record prop:P4 ?language . # Filter: P4 'language' is Q21 'French' | ?record prop:P4 ?language . # Filter: P4 'language' is Q21 'French' | ||
FILTER EXISTS { | FILTER EXISTS { | ||
− | ?language prop:P2 entity:Q4 .# Filter: P2 'instance of' is | + | ?language prop:P2 entity:Q4 .# Filter: P2 'instance of' is Q4 'language' |
− | Q4 'language' | + | ?record prop:P2 entity:Q2 . # Filter: P2 'instance of' is Q2 'record' |
− | ?record prop:P2 entity:Q2 . # Filter: P2 'instance of' is | ||
− | Q2 'record' | ||
} | } | ||
Line 38: | Line 34: | ||
?language rdfs:label ?languageLabelGroup FILTER | ?language rdfs:label ?languageLabelGroup FILTER | ||
(lang(?languageLabelGroup) = "[AUTO_LANGUAGE]"). | (lang(?languageLabelGroup) = "[AUTO_LANGUAGE]"). | ||
− | OPTIONAL { ?language prop:P12 ?wikidataGroup } # Assign value: | + | OPTIONAL { ?language prop:P12 ?wikidataGroup } # Assign value: language's P12 'wikidata id' into ?wikidata |
− | 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:P13 ?codeGroup } # Assign value: | ||
− | language's P13 'ISO 639-3' into ?wikidata | ||
OPTIONAL { ?language prop:P17 ?wikiGroup } | OPTIONAL { ?language prop:P17 ?wikiGroup } | ||
− | |||
− | |||
} | } | ||
GROUP BY ?language | GROUP BY ?language | ||
Line 50: | Line 42: | ||
</query> | </query> | ||
| | | | ||
− | <query _pagination="100" languages="Niver a yezhoù" records=" | + | <query _pagination="100" languages="Niver a yezhoù" records="Niver a enrolladennoù"> |
select (COUNT(DISTINCT ?language) as ?languages) (COUNT(?record) as ?records) | select (COUNT(DISTINCT ?language) as ?languages) (COUNT(?record) as ?records) | ||
where { | where { | ||
Line 58: | Line 50: | ||
</query> | </query> | ||
|} | |} | ||
− | == | + | == Roll ar yezhoù a c'haller enrollañ == |
{| style="width:100%" | {| style="width:100%" | ||
|- style="vertical-align:top;padding:.5em;" | |- style="vertical-align:top;padding:.5em;" | ||
| style="padding-right:.5em;"| | | style="padding-right:.5em;"| | ||
− | <query _pagination="100" language="Qid LinguaLibre" languageLabel=" | + | <query _pagination="100" language="Qid LinguaLibre" languageLabel="Anv ar yezh" wikidata="Qid Wikidata" code="Kod ISO 639-3"> |
select ?language ?wikidata ?languageLabel ?code | select ?language ?wikidata ?languageLabel ?code | ||
where { | where { | ||
Line 76: | Line 68: | ||
</query> | </query> | ||
| | | | ||
− | <query _pagination="100" languages=" | + | <query _pagination="100" languages="Niver a yezhoù" records="Niver a enrolladennoù"> |
select (COUNT(?lang) as ?languages) | select (COUNT(?lang) as ?languages) | ||
where { | where { |
Latest revision as of 22:04, 20 May 2023
Roll ar yezhoù gant enrolladennoù
|
|
Roll ar yezhoù a c'haller enrollañ
|
|
Gwelout ivez
- LinguaLibre:Language codes systems used across LinguaLibre
- Help:Add a new language
- Help:Querying Lingua Libre
- Help:Sparql
- Special:ListProperties
- LinguaLibre:Speakers
- LinguaLibre:Records
- LinguaLibre:Stats/Languages