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
ASammour
.
Toggle Highlighting
SQL
use arwiki_p; select p1.page_title, pp_value, wikidatawiki_p.page.page_id, replace("Q","", wikidatawiki_p.page.page_title) from page p1 inner join page_props on pp_page = p1.page_id inner join wikidatawiki_p.page on wikidatawiki_p.page.page_title = pp_value where p1.page_namespace = 0 and p1.page_is_redirect = 0 and pp_propname = "wikibase_item" and wikidatawiki_p.page.page_id not in ( SELECT wbit_item_id FROM wikidatawiki_p.wbt_item_terms INNER JOIN wikidatawiki_p.wbt_term_in_lang ON wbtl_id = wbit_term_in_lang_id INNER JOIN wikidatawiki_p.wbt_text_in_lang ON wbxl_id = wbtl_text_in_lang_id WHERE wbxl_language = "ar" AND wbtl_type_id = 1 and wbit_item_id = replace(wikidatawiki_p.page.page_title,"Q","" )) limit 10;
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...