def interpret(self, match): location = LocationOf(match.thing) location_name = NameOf(location) return location_name, "enum"
def interpret(self, match): SpokenInLocations = SpokenIn(match.language) return NameOf(SpokenInLocations), "enum"
def interpret(self, match): city = HasKeyword(match.city.tokens) restaurants = IsRestaurant() + CityOf(city) return NameOf(restaurants), "enum"
def interpret(self, match): University = IsUniversity() return NameOf(University), "enum"
def interpret(self, match): own = UniversityOwnerOf(match.university) return NameOf(own), "enum"
def interpret(self, match): name = match.species.tokens species = IsSpecies() + HasKeyword(name) Ingredient = IngredientOf(species) label = NameOf(Ingredient) return label, "enum"
def interpret(self, match): Owner = OwnerOf(match.hotel) return NameOf(Owner), "enum"
def interpret(self, match): hotels = IsHotel() return NameOf(hotels), "enum"