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.
Line 24: | Line 24: | ||
select ?language ?wikidata ?languageLabel ?code | select ?language ?wikidata ?languageLabel ?code | ||
where { | where { | ||
− | ?language prop:P2 entity:Q4 . | + | ?language prop:P2 entity:Q4 . # Filter: P2 'instance of' is Q4 'language' |
− | OPTIONAL { ?language prop:P12 ?wikidata } | + | OPTIONAL { ?language prop:P12 ?wikidata } # Assign value: language's P12 'wikidata id' into ?wikidata |
− | OPTIONAL { ?language prop:P13 ?code } | + | OPTIONAL { ?language prop:P13 ?code } # Assign value: language's P13 'ISO 639-3' into ?wikidata |
− | OPTIONAL { ?language rdfs:label ?languageLabel . FILTER (lang(?languageLabel) = "[AUTO_LANGUAGE]"). } | + | OPTIONAL { ?language rdfs:label ?languageLabel . # Assign value: label into ?languageLabel |
+ | FILTER (lang(?languageLabel) = "[AUTO_LANGUAGE]"). } | ||
} | } | ||
GROUP BY ?language ?wikidata ?languageLabel ?code | GROUP BY ?language ?wikidata ?languageLabel ?code |