LinguaLibre
Difference between revisions of "List of languages/oc"
Las lengas disponiblas sus LinguaLibre' se podòn trapar amb aquela aisina, per exemple: [https://lingualibre.org/Special:Search?search=Zulu Search:Zulu
(Updating to match new version of source page) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|- 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="Nom de lenga" wikidata="Qid Wikidata" code="còdi ISO 639-3" wiki="Wikis" | + | <query _pagination="100" language="Qid LinguaLibre" languageLabel="Nom de lenga" wikidata="Qid Wikidata" code="còdi ISO 639-3" wiki="Wikis" records="<span class="mw-translate-fuzzy">Nombre d'enregistraments</span>" words="Words" percent="%"> |
− | + | SELECT | |
− | + | ?language (SAMPLE(?wikidataGroup) as ?wikidata) | |
− | + | (SAMPLE(?languageLabelGroup) as ?languageLabel) (SAMPLE(?codeGroup) as ?code) (SAMPLE(?wikiGroup) as ?wiki) | |
− | + | (SAMPLE(ROUND(1000*?words/?records)/10) AS ?percent) | |
− | + | WHERE { | |
− | OPTIONAL { ?language prop: | + | { |
− | OPTIONAL { ?language prop: | + | SELECT ?language (SAMPLE(?recordLabelGroup) as ?words) |
− | OPTIONAL { ?language | + | (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(? | + | ORDER BY DESC(?records) |
</query> | </query> | ||
| | | | ||
Line 32: | Line 55: | ||
|- 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="Language name" wikidata="Qid Wikidata" code="còdi ISO 639-3"> |
select ?language ?wikidata ?languageLabel ?code | select ?language ?wikidata ?languageLabel ?code | ||
where { | where { | ||
Line 54: | Line 77: | ||
== Veire tanben== | == Veire tanben== | ||
+ | <div class="mw-translate-fuzzy"> | ||
* [[Special:MyLanguage/LinguaLibre:Language codes systems used across LinguaLibre|LinguaLibre:sistem de còdis emplegat dins LinguaLibre]] | * [[Special:MyLanguage/LinguaLibre:Language codes systems used across LinguaLibre|LinguaLibre:sistem de còdis emplegat dins LinguaLibre]] | ||
* [[Special:MyLanguage/Help:Add a new language|Help:Apondre una lenga novèla]] | * [[Special:MyLanguage/Help:Add a new language|Help:Apondre una lenga novèla]] | ||
Line 59: | Line 83: | ||
* [[Special:MyLanguage/Help:Sparql|Ajuda:Sparql]] | * [[Special:MyLanguage/Help:Sparql|Ajuda:Sparql]] | ||
* [[Special:ListProperties|Special:ListProperties]] | * [[Special:ListProperties|Special:ListProperties]] | ||
− | * [[Special:MyLanguage/ | + | * [[Special:MyLanguage/LinguaLibre:Speakers|DataViz:Locutorss]] |
− | * [[Special:MyLanguage/ | + | * [[Special:MyLanguage/LinguaLibre:Records|DataViz:Enregistraments]] |
− | + | </div> | |
− | [[Category:Lingua Libre{{#translation:}}]] | + | {{Helps}} |
+ | [[Category:Lingua Libre:DataViz{{#translation:}}]] |
Latest revision as of 22:03, 20 May 2023
Listas de las lengas qu'an ja de mots enregistrats
|
|
Lista de las lengas que podètz emplegar per enregistrar
|
|