Retrieving function information from schema - TypeDB