def semantics(self, match): movie = IsMovie() + HasActor(match.actor) movie_name = NameOf(movie) return movie_name, "enum"
def semantics(self, match): movie = IsMovie() name = NameOf(movie) return name, "enum"
def semantics(self, match): movie = IsMovie() + DirectedBy(match.director) movie_name = LabelOf(movie) return movie_name, "enum"
def semantics(self, match): name = match.words.tokens return IsMovie() + HasName(name)