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
Huji
.
Toggle Highlighting
SQL
use wikidatawiki_p; -- select * from page where page_id = 2039804; -- select * from pagelinks where pl_namespace = 120 and pl_title = 'P1566' and pl_from = 2039804; -- Once the entity is known (e.g. Q2113430) we can use this query to get its localized name, if available select count(*) from pagelinks where pl_title = 'P1566' and pl_namespace =120 and pl_from_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...