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
Jura1
.
Toggle Highlighting
SQL
# list of given names from page use wikidatawiki_p; SELECT page_title, COUNT(term_text) AS items, CONCAT('#{{Q|', page_title, '}}') AS output1 FROM pagelinks, page, wb_entity_per_page, wb_terms WHERE pl_from = 21293912 AND pl_namespace = 0 AND pl_title = page_title AND page_id = epp_page_id AND epp_entity_id = term_entity_id AND term_entity_type = 'item' # 'item' not 'property' AND term_type = 'alias' # 'label', 'description', 'alias' AND term_language = 'en' GROUP BY page_title
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...