SQL
AخA
use wikidatawiki_p;
SELECT *
FROM wb_items_per_site,page_props,page
WHERE ips_site_id IN ('arwiki')
AND page_namespace=0 AND ips_item_id=substr(page_title,2)*1 AND page_id=pp_page AND pp_propname='wb-claims' AND pp_sortkey=0
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.