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
Aram
.
Toggle Highlighting
SQL
SELECT DISTINCT p.page_title FROM page AS p JOIN templatelinks AS tl ON p.page_id = tl.tl_from LEFT JOIN page_props AS pp ON p.page_id = pp.pp_page WHERE tl.tl_namespace = 10 -- Check only in the Template namespace AND tl.tl_title = 'زیندووان' -- The category "زیندووان" (Living people) AND pp.pp_propname = 'wikibase_item' AND EXISTS ( SELECT 1 FROM wikidatawiki_p.page AS wd WHERE p.page_title = CONCAT('Q', wd.page_title) AND wd.page_is_redirect = 0 AND wd.page_namespace = 0 AND NOT EXISTS ( SELECT 1 FROM wikidatawiki_p.claims AS c WHERE wd.page_id = c.claim_entity_id AND c.claim_id = 'P570' -- P570 is the date of death property LIMIT 1 ) );
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...