Fork of
Cats that have different label
by ASammour
This query is marked as a draft
This query has been published
by علاء.
SQL
AخA
use wikidatawiki_p;
select CONCAT("Q",ips_item_id,">",ips_site_page)
from wb_items_per_site i
where i.ips_site_id='enwiki' and
ips_site_page not like (select term_text from wb_terms where i.ips_item_id = term_entity_id and
term_type = "label" and term_language='en' limit 1)
and ips_site_page like "Category:%"
and ips_site_page not like "%(%)%"
group by ips_item_id;
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.