Fork of Untitled query #15718 by Edgars2007
This query is marked as a draft This query has been published by Jarekt.

SQL

x
 
use commonswiki_p;
SELECT REPLACE(REPLACE(REPLACE(el_to_path, '/#/v1=',''), '%7C','|'),'||','#')
FROM externallinks
JOIN page ON page_id = el_from
JOIN categorylinks ON cl_from = page_id
WHERE page_namespace in (6,14) 
and cl_to='Artworks_with_Wikidata_item:_quick_statements' 
and el_to_domain_index = 'https://org.toolforge.quickstatements.'
limit 30000
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.

Checking query status...