Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Wikidata:Missing Commons insitution templates on Wikidata
by
ZI Jony
This query is marked as a draft
This query has been published
by
ZI Jony
.
https://quarry.wmcloud.org/query/64996
Toggle Highlighting
SQL
SELECT REGEXP_SUBSTR(el_to, 'Q[0-9]*'), 'P18', CONCAT("\"", REPLACE(page_title, "_", " "), "\"") FROM externallinks JOIN page ON page_id = el_from JOIN categorylinks ON cl_from = page_id WHERE page_namespace = 6 and cl_to='Artworks_with_Wikidata_item_missing_image' AND el_to LIKE 'https://tools.wmflabs.org/quickstatements/%' order by el_to limit 50000
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...