SQL
AخA
select p.page_title, pp.pp_value, gt.gt_lat, gt.gt_lon
from page p
JOIN geo_tags gt ON gt.gt_page_id = p.page_id AND gt.gt_globe = 'earth' and gt.gt_primary=1
left join page_props pp on p.page_id=pp.pp_page and pp.pp_propname='wikibase_item'
where p.page_namespace=0 and p.page_is_redirect=0
-- p.page_id=485618
limit 5
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.