SQL
AخA
use wikidatawiki_p;
select concat('Q',term_entity_id)
from wb_terms
where /*term_entity_id="1515" and */term_type = "label" and term_language='lv'
and term_text rlike "^[A-ZĀČĒĢĪĶĻŅŠŪŽ]"
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.