green bean and fried onion are used in what dish?
Entity
m.0djhcg
Green bean casserole
class entity entity
food.dish m.0fyw9s m.054hcy
food.dish food.ingredient food.ingredient
Dish Fried onion Green bean
none none none
food.dish.ingredients food.ingredient.dishes
Typical ingredients Typically used in dishes
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :food.dish . 
VALUES ?x1 { :m.0fyw9s } 
VALUES ?x2 { :m.054hcy } 
?x0 :food.dish.ingredients ?x1 . 
?x2 :food.ingredient.dishes ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND food.dish (AND (JOIN food.dish.ingredients m.0fyw9s) (JOIN (R food.ingredient.dishes) m.054hcy)))