@staticmethod
def _get_ancestry_of(entity):
    """
        Get the ancestry of this entity, beginning from the most abstract and terminating by this entity
        :param entity: The entity
        :return: The ancestry
        """
    ancestors = entity.ancestors()
    result = list(reversed(ancestors))
    result.append(entity)
    return result
