Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Wikidata terms like item identifiers
by
Matěj Suchánek
This query is marked as a draft
This query has been published
by
Matěj Suchánek
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT DISTINCT term_full_entity_id, term_type, term_text FROM wb_terms JOIN redirect ON rd_title = term_full_entity_id AND rd_namespace = 0 JOIN page ON page_id = rd_from WHERE term_text LIKE "Q%" AND term_text RLIKE "^Q[1-9][0-9]*$" AND page_title = term_text AND page_namespace = 0;
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...