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
XXN
.
+ /18461
Toggle Highlighting
SQL
USE wikidatawiki_p; /* #SELECT term_entity_id, term_language, term_text FROM wb_terms WHERE term_type = 'description' AND term_language = 'nl' AND term_text RLIKE '.+\\s{2,}.+'#= "город в Италии" AND term_entity_type = 'item' #ORDER BY term_language, term_entity_id, term_text; */ SELECT CONCAT('Q', w2.term_entity_id) as item, w1.term_text as label/*, CONCAT('"', w2.term_text, '"') as descr*/#, # GROUP_CONCAT(w1.term_text separator ' *, ') as alias, # CURRENT_DATE from wb_terms w2 join wb_terms w1 on w2.term_entity_id = w1.term_entity_id WHERE w2.term_entity_type = 'item' /* AND w2.term_language = 'en' AND w2.term_type = 'description'#'label' # 'description', 'alias' AND w2.term_text = "Wikimedia category"#Wikimedia template" #like "%политики"#RLIKE '^dorp {2,}'like "%(dezambiguizare)" */ and (w1.term_entity_type = 'item' AND w1.term_language = 'nl' AND w1.term_type = 'label' AND w1.term_text /*not*/ like "Category:%") GROUP BY /*w2.term_text,*/ w2.term_entity_id limit 10100
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...