Translations

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

(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) = "de"). }
+
   OPTIONAL { ?language rdfs:label ?languageLabel . FILTER (lang(?languageLabel) = "en"). }
 
}
 
}
 
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 00:02, 11 October 2020

where {

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

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