SQL
x
use wikidatawiki_p;
SELECT now();
SELECT term_text, count(*)
from wb_terms
WHERE term_entity_type = 'item'
AND term_language = 'lv'
AND term_type = 'description'
GROUP BY term_text
ORDER BY count(*) DESC
LIMIT 500
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.