This is the analytic problem description and needs not to be implemented if there is no special behavior for any of the derived classes. Since SMW is data only at this time we'll use the generic Location storage and if need be implement the derived classes in the target platform such as Python as a specific geography package.
Potentially we could use Property:isA as locationKind if the followUp Problems of this decision are manageable.
levelKinds: World, Continent,WorldRegion, Country, Region, City 0: World - only entry with partOf being undefined - therefore root of tree
Level 0 to 2 have verbatim pageTitles e.g.
... From Countries on hierachical pageTitles are used as outlined in [/issues/220 Issue 220 - ]"http:///issues/220" has been identified to contain an invalid "/issues/220" authority or path component. Level 0 to 2 are ignored for pageTitles of Locations below Countries. That is because the uniqueness problem only shows up from Region/City Level and makes much more natural pageTitles
looks ok
while
seems just outright ugly.
What if we'd use: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
Redirects to ISO Codes based pageTitles might by nice!
US/NV/Las Vegas would be the standard