This query is marked as a draft This query has been published by Matěj Suchánek.

SQL

AخA
 
USE cswiki_p;
SELECT eu_entity_id, term_text, ct
FROM (SELECT eu_entity_id, COUNT(*) AS ct FROM wbc_entity_usage WHERE eu_aspect = 'L.en' GROUP BY eu_entity_id) AS wbc
JOIN wikidatawiki_p.wb_terms ON term_full_entity_id = eu_entity_id
WHERE term_type = 'label'
AND term_language = 'en'
AND ct >= 2
ORDER BY term_entity_type DESC, ct DESC, term_text;
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...