@J12t
That description made me think of linked data in @wikidata - they likely have all the geopolitical entities in the database already.
And quite a number of Mastodon instances, while we're at it:
https://www.wikidata.org/wiki/Special:WhatLinksHere/Q72705885
#Wikidata #LinkedOpenData
@evan