Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
wikidatawiki Entity redirects with text terms in DB
by
Bdijkstra
This query is marked as a draft
This query has been published
by
Arjunaraoc
.
https://phabricator.wikimedia.org/T331394 There seem to be no property redirects at all.
Toggle Highlighting
SQL
SELECT page_title AS 'item-id', page_links_updated AS 'links-updated', GROUP_CONCAT(DISTINCT wby_name) AS type, GROUP_CONCAT(DISTINCT wbxl_language) AS lang#, wbx_text AS text FROM page, wbt_item_terms, wbt_term_in_lang, wbt_type, wbt_text_in_lang#, wbt_text WHERE page_namespace=0 AND page_is_redirect=1 AND page_links_updated NOT REGEXP '^2023' AND CAST(SUBSTRING(page_title,2) AS INTEGER)=wbit_item_id AND wbit_term_in_lang_id=wbtl_id AND wbtl_type_id=wby_id AND wbtl_text_in_lang_id=wbxl_id #AND wbxl_text_id=wbx_id 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...