Report question

Question: How can I extract hierarchical city/state/country data from OSM XML planet files?