SELECT
?count
?language ?languageLabel
?example_lexeme ?example_lexemeLabel
WITH {
SELECT
(COUNT(?lexeme) AS ?count)
?language
(SAMPLE(?lexeme) AS ?example_lexeme)
{
?lexeme wdt:P31 wd:Q1520033 ;
dct:language ?language
}
GROUP BY ?language
} AS %counts
WHERE {
INCLUDE %counts
?example_lexeme wikibase:lemma ?example_lexemeLabel .
?language rdfs:label ?languageLabel .
FILTER (LANG(?languageLabel) = 'en')
}
ORDER BY DESC(?count)