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
Sadrettin
.
Toggle Highlighting
SQL
-- wikidatawiki_p veritabanında çalıştığınızı doğrulayın USE wikidatawiki_p; SELECT COUNT(DISTINCT a.eu_entity_id) AS count FROM wbc_entity_usage a JOIN wbc_entity_usage b ON a.eu_entity_id = b.eu_entity_id JOIN wbc_entity_usage c ON a.eu_entity_id = c.eu_entity_id -- 1) P31 = Q32815 (örneğin "tiyatro binası" ya da başka bir sınıf) WHERE a.eu_property_id = 'P31' AND a.eu_value_type = 'wikibase-entityid' AND a.eu_value = 'Q32815' -- 2) P11729 özelliği mutlaka tanımlı olsun AND b.eu_property_id = 'P11729' -- 3) P17 = Q43 (ülkesi Türkiye) AND c.eu_property_id = 'P17' AND c.eu_value_type = 'wikibase-entityid' AND c.eu_value = 'Q43';
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...