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
Mr. Ibrahem
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT CONCAT("Q",term_entity_id) AS item, term_text AS label#, pi_type FROM wb_terms # LEFT JOIN wb_terms # ON term_entity_id = pi_property_id AND term_entity_type = 'property' AND term_language = 'en' AND term_type = 'label' LEFT JOIN pagelinks ON pl_from = term_entity_id AND pl_namespace = 0 AND pl_title = 'Q5' #WHERE pl_title IS NULL WHERE term_entity_type = 'item' AND term_language = 'ar' AND term_type = 'label' and pl_from = term_entity_id GROUP BY term_entity_id 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...