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
Matěj Suchánek
.
To be pasted into QuickStatements and processed by bot.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT DISTINCT CONCAT('Q',term_entity_id), CONCAT('L',term_language), CONCAT('"',ips_site_page,'"') FROM (SELECT * FROM wb_items_per_site WHERE ips_site_id = 'cswiki') AS links JOIN (SELECT * FROM wb_terms WHERE term_language = 'cs' AND term_type = 'label' AND term_entity_type = 'item') AS labels ON term_entity_id = ips_item_id WHERE (ips_site_page LIKE 'Kategorie:%' OR ips_site_page LIKE 'Šablona:Infobox%') AND (ips_site_page LIKE 'Kategorie:%' OR ips_site_page LIKE 'Šablona:Infobox%') AND term_text <> ips_site_page AND ips_site_page NOT LIKE "%:Údržba:%" AND ips_site_page NOT LIKE "%:Šablony:%" AND ips_site_page NOT LIKE "%:Monitoring:%" AND ips_site_page NOT LIKE "%:Wikipedie:%" ORDER BY term_entity_id;
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...