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
# Non standard descriptions in given name items use wikidatawiki_p; SELECT pl_title as Qid, 'Den', REPLACE(term_text , 'Given ', 'given ') , 'first ', 'given ') , 'feminine ', 'female ') , 'masculine ', 'male ') ))) As desc2, term_text As desc1_long_header_to_stretch_colum_wide_123_456_7890, CONCAT('<tr><td>{{Q|', pl_title, '}}<td> ', pl_title, '<td>', term_text) AS simplelist_for_copy_and_paste 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 = 'description' # 'label', 'description', 'alias' AND term_language = 'en' AND term_text not in ('male given name', 'female given name', 'given name') GROUP BY 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...