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
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT epp_page_id, CONCAT('Q',epp_entity_id), GROUP_CONCAT(DISTINCT term_text ORDER BY term_text ACS SEPARATOR ', ') FROM wb_terms JOIN wb_entity_per_page ON epp_entity_id = term_entity_id JOIN pagelinks ON pl_from = epp_page_id AND pl_title IN ('Q202444','Q12308941','Q11879590','Q3409032') AND pl_from_namespace = 0 WHERE term_entity_type = 'item' AND term_type = 'label' AND term_language IN ('en','cs','da','de','es','et','fi','fr','hu','it','nn','nl','pl','pt','sk','sv','tr') GROUP BY epp_page_id HAVING COUNT(DISTINCT term_text) > 1;
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...