SQL
AخA
use wikidatawiki_p;
select CONCAT("Q",ips_item_id), CONCAT("Lar"), CONCAT(ips_site_page)
from wb_items_per_site i
join wb_terms on ips_item_id = term_entity_id and term_type = "label"
where i.ips_site_id='arwiki' and i.ips_item_id not in
(select term_entity_id from wb_terms where ips_item_id = term_entity_id and
term_type = "label" and term_language='ar'
and term_entity_id=i.ips_item_id)
group by ips_item_id
limit 100
;
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.