SQL
AخA
SELECT cl_sortkey_prefix, page_title, el_to, pp_value
FROM categorylinks
INNER JOIN page ON cl_from=page_id
INNER JOIN externallinks ON cl_from=el_from
INNER JOIN page_props ON cl_from=pp_page AND pp_propname='wikibase_item'
WHERE cl_to='Wikipedia:IMDb-code_niet_op_Wikidata' AND el_to REGEXP '^(https?:)?//(www\\.)?imdb\\.com/[a-z]+/[a-z]{2}[0-9]+/$'
ORDER BY cl_sortkey_prefix, 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.