Fork of
Wikipedia Pages without Wikidata Items
by Ranjithraj
This query is marked as a draft
This query has been published
by Sridhar G.
SQL
AخA
SELECT DISTINCT
page.page_title,
page.page_len,
cl.cl_to
FROM page
JOIN categorylinks cl ON page.page_id = cl.cl_from
LEFT JOIN page_props pp ON page.page_id = pp.pp_page
AND pp.pp_propname = 'wikibase_item'
WHERE page.page_namespace = 0
AND page.page_is_redirect = 0
AND pp.pp_value IS NULL
AND cl.cl_to LIKE '%category' -- replace the category with your category name of your choice
ORDER BY page.page_title;
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.