Translations

Difference between revisions of "LinguaLibre:Stats/7/pl"

(Created page with "where { ?record prop:P2 entity:Q2 . ?record prop:P4 ?language . OPTIONAL { ?language prop:P13 ?code } OPTIONAL { ?language rdfs:label ?languageLabel . FILTER (lang(?la...")
 
 
Line 3: Line 3:
 
   ?record prop:P4 ?language .
 
   ?record prop:P4 ?language .
 
   OPTIONAL { ?language prop:P13 ?code }
 
   OPTIONAL { ?language prop:P13 ?code }
   OPTIONAL { ?language rdfs:label ?languageLabel . FILTER (lang(?languageLabel) = "en"). }
+
   OPTIONAL { ?language rdfs:label ?languageLabel . FILTER (lang(?languageLabel) = "pl"). }
 
}
 
}
 
GROUP BY ?language ?languageLabel ?code
 
GROUP BY ?language ?languageLabel ?code
 
ORDER BY DESC(?nb)
 
ORDER BY DESC(?nb)
 
</query><!-- Just insert corresponding language code instead of "en" -->
 
</query><!-- Just insert corresponding language code instead of "en" -->

Latest revision as of 14:32, 9 March 2021

where {

 ?record prop:P2 entity:Q2 .
 ?record prop:P4 ?language .
 OPTIONAL { ?language prop:P13 ?code }
 OPTIONAL { ?language rdfs:label ?languageLabel . FILTER (lang(?languageLabel) = "pl"). }

} GROUP BY ?language ?languageLabel ?code ORDER BY DESC(?nb) </query>