Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Rowanwindwhistler
.
SVG maps from 2015-02 onwards used 4-10 times in the Spanish Wikipedia. Excluding those in category Historical_SVG_maps_in_Spanish and those in categories having "ocator" (locator) and "lag" (flag) in their categories. The filtering is done by looking for SVG files uploaded after February 2015, having at least a category with the word "map" in it. From the suggestion at https://commons.wikimedia.org/wiki/Commons:Village_pump#How_to_perform_complex_file_searches_in_Commons
Toggle Highlighting
SQL
use commonswiki_p; Select img_name, cl_to, count(*) from image inner join globalimagelinks on gil_to = img_name inner join page on page_namespace=6 and page_title = img_name inner join categorylinks on cl_from = page_id where img_media_type = 'DRAWING' and img_major_mime="image" and img_minor_mime = 'svg+xml' and cl_to like '%map%' and gil_wiki = 'frwiki' and img_timestamp > 20150200000000 group by img_name , cl_to, having count(*) < 10000 and count(*)>5000;
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...