Creation of an API to retrieve ancestors of a concept