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
Bdijkstra
.
Find links from Dutch Wikipedia articles to Dutch Wikisource that don't have a Wikidata ID.
Toggle Highlighting
SQL
/*SELECT iwl_title, page_namespace, page_title FROM nlwikisource_p.iwlinks, nlwikisource_p.page WHERE iwl_prefix='w' AND iwl_title NOT IN ('', 'Hoofdpagina', 'Wikipedia') AND iwl_title NOT REGEXP '^Speciaal:Boekbronnen/' AND iwl_from=page_id AND page_namespace NOT IN (1,2,3,4,5,6,7,8,9,11,13,15) AND NOT EXISTS (SELECT * FROM nlwikisource_p.page_props WHERE pp_page=page_id AND pp_propname='wikibase_item') LIMIT 100*/ SELECT iwl_title, page_namespace, page_title FROM nlwiki_p.iwlinks, nlwiki_p.page WHERE iwl_prefix='s' AND iwl_title NOT IN ('') AND iwl_title NOT REGEXP '^Speciaal:Boekbronnen/' AND iwl_from=page_id AND page_namespace NOT IN (1,2,3,4,5,6,7,8,9,11,13,15) /*AND NOT EXISTS (SELECT * FROM nlwikisource_p.page_props WHERE pp_page=page_id AND pp_propname='wikibase_item')*/ LIMIT 100
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...