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
Nikki
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT CONCAT('Q', term_entity_id) AS 'qid', term_text, term_language FROM wb_terms WHERE term_entity_type = 'item' AND term_type = 'label' AND term_text LIKE 'Q%' AND term_text REGEXP '^Q[0-9]+$' AND term_entity_id not in ( # disambiguation items 3412283, 165472, 404776, 416042, 395446, 395685, 1209173, 404615, 3412287, 1209166, 448368, 7265344, 22008601, 22676624, # 0-13 7265345, # 16 7265346, # 22 7265350, # 35 7265349, # 38 7265352, # 40 7265355, # 45 23673300, # 50 23673404, # 60 23673400, # 70 16460748, # 87 3412288, # 92 7265360, 7265362, # 94-95 3412289, 3412285, 7265333, 7265337, 7265338, 7265339, # 99-104 7265340, 7265341, # 106-107 21072824, # 300 # others 125846, # Q1 skyscraper 3926181, # Q5 band 1054634, # Q10 TV series 129609, # Q10 temperature coefficient 504331, # Q65 band 25197232, # Q70 bus route 25197229, # Q74 bus route 7265361, # Q96 radio station 18166377, # Q150 anniversary of Queensland 16764476 # unnamed watercourse with SANDRE ID Q2511020 ) #AND CONCAT('Q', term_entity_id) = 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
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...