SQL
AخA
use commonswiki_p;
SELECT DISTINCT pp.pp_value, p1.page_title
FROM categorylinks AS c1
JOIN page AS p1 ON c1.cl_from=p1.page_id AND p1.page_namespace=14 AND p1.page_is_redirect=0
JOIN page_props AS pp ON pp.pp_page = p1.page_id AND pp.pp_propname = 'wikibase_item'
WHERE tl.tl_title IS NULL and t2.tl_title IS NULL
AND ( p1.page_id NOT IN ( SELECT tl.tl_from AND tl.tl_from_namespace = 14
AND tl.tl_namespace = 10 AND tl.tl_title = 'Wikidata_Infobox'
FROM templatelinks AS tl ) )
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.