Fork of
Wikidata items without Latvian label
by Voll
This query is marked as a draft
This query has been published
by Zygimantus.
SQL
x
use wikidatawiki_p;
select CONCAT("Q",ips_item_id), CONCAT("Llv"), CONCAT('"',ips_site_page,'"')
from wb_items_per_site i
where i.ips_site_id='lvwiki' and not exists
(select term_entity_id from wb_terms where i.ips_item_id = term_entity_id and term_type = "label" and term_language='lv')
group by ips_item_id
order by ips_site_page
limit 1000;
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.