SQL
x
USE wikidatawiki_p;
SELECT CURRENT_DATE;
SELECT
term_entity_type,
term_language,
count(if(term_type = 'label',1,null)) as labels,
count(if(term_type = 'description',1,null)) as descriptions,
count(if(term_type = 'alias',1,null)) as aliases
FROM wb_terms
WHERE term_language IN (
'en', 'fi', 'sv', 'et'
)
GROUP BY term_entity_type, term_language;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.