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
# use wikidatawiki_p; SELECT page_title AS item, term_type, term_language, term_text, page_title AS item1, CONCAT('D', term_language) AS Desc1, '""' AS Str1 FROM pagelinks, page, wb_entity_per_page, wb_terms WHERE pl_from = 21293912 # page [[d:User:Jura1/3]], see https://www.wikidata.org/w/index.php?title=User:Jura1/3&action=info 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' AND term_language IN ('en') AND term_type = 'label' # description, alias # AND (term_text IN ( SELECT term_text FROM pagelinks, page, wb_entity_per_page, wb_terms WHERE pl_from = 21293912 # page 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' AND term_type = 'label' # description, alias AND term_language IN ('en') GROUP BY term_text HAVING COUNT(page_title) > 1 ) ) # GROUP BY term_text, 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...