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
use wikidatawiki_p; #SELECT * FROM categorylinks LIMIT 5; #SELECT * FROM page_props WHERE pp_propname = 'wikibase_item' LIMIT 5; SELECT enwiki_p.pp_value AS Qid, enwiki_p.page_title FROM enwiki_p.categorylinks, enwiki_p.page_props, enwiki_p.page, wb_terms, wb_entity_per_page LEFT JOIN ( SELECT pl_from FROM pagelinks WHERE pl_title = 'P570' AND pl_namespace = 120 ) As allitemswith570 ON epp_page_id = allitemswith570.pl_from WHERE allitemswith570.pl_from IS NULL WHERE enwiki_p.cl_to='2015_deaths' AND enwiki_p.cl_type = 'page' AND enwiki_p.cl_from = enwiki_p.pp_page AND enwiki_p.pp_propname = 'wikibase_item' AND enwiki_p.cl_from = enwiki_p.page_id AND enwiki_p.page_title NOT LIKE 'Death%' AND enwiki_p.page_title NOT LIKE 'List_%' AND epp_entity_type = 'item' AND term_entity_id = epp_entity_id AND term_type = 'label' AND term_entity_type = 'item' AND term_language = 'en' LIMIT 5
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...