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
.
Based on https://phabricator.wikimedia.org/T63881
Toggle Highlighting
SQL
use wikidatawiki_p; SELECT czech.ips_site_page AS pagename, CONCAT('Q',czech.ips_item_id) AS czech, CONCAT('Q',other.ips_item_id) AS other FROM wb_items_per_site AS czech, wb_items_per_site AS other, wb_terms AS terms1, wb_terms AS terms2 WHERE terms1.term_entity_id = czech.ips_item_id AND terms2.term_entity_id = other.ips_item_id AND terms1.term_entity_type = 'item' AND terms2.term_entity_type = 'item' AND czech.ips_site_id = 'cswiki' AND terms1.term_type = 'description' AND terms2.term_type = 'description' AND terms1.term_search_key LIKE '%homon%' AND terms2.term_search_key LIKE '%homon%' AND czech.ips_site_page RLIKE '^[A-Z][A-Z][A-Z]$' AND czech.ips_site_page = other.ips_site_page AND czech.ips_item_id <> other.ips_item_id GROUP BY czech.ips_item_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...