h3abionet / afpo

AfPO: African Population Ontology
1 stars 0 forks source link

Refactor geographical classification #2

Closed daniwelter closed 6 months ago

daniwelter commented 1 year ago

The geographical classification within AfPO currently does not follow a strict is_a hierarchy and instead follows a country > region > continent model. In order to comply with accepted OWL ontology practice, this should be refactored into 3 orthogonal hierarchies for countries, regions and continents, with relevant concepts interlinked using partonomy (part_of) relationships.

abenkahla commented 1 year ago

Dear @daniwelter How do you think that we should do that? Thanks.

daniwelter commented 1 year ago

@abenkahla I'm actually reviewing the way we do this in HANCESTRO at the moment. Give me a few more days to review options and I'll get back to you later next week so we can align on approaches

daniwelter commented 1 year ago

Hi @abenkahla, apologies for the delay in getting back to you. We still don't have a firm plan for what exactly to do with HANCESTRO countries, other than that we will cross-reference countries, regions and continents with as many resources as we can, including but potentially not limited to Geonames, Wikipedia/DBPedia, Wikidata and GAZ. We will likely retire the HANCESTRO URIs for regions and continents in favour of DBPedia ones but not for the specific terms "country" and "region", as there are no other more widely used terms in the OBO world that would be more suitable.

For AfPO, I would suggest adding classes for "region" and "country" at root level, alongside "continent". Use either native AfPO IDs or reuse HANCESTRO (or any other). Move all the African regions under "region" and all the countries under "country", then link the various regions back to "Africa" using "part of" (eg "Central Africa" part of some/only "Africa") and the countries to their regions via either "part of" or "located in".

Most of these can easily be done in a text editor with find/replace. Let me know if you'd like me to help with the refactoring.

daniwelter commented 6 months ago

Fixed in https://github.com/h3abionet/afpo/pull/26