what dish has a recipe of chocolate chip cookies?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.02vvkvc m.0d5nn m.0333qm m.01k18d m.01wmzc m.02pvg3 m.0gxwm0 m.01f91_ m.03cz2s4 m.0151tr m.0blbtf m.03p4r6 m.087f7v m.0ggw1_ m.02clnh m.0ryvc7s m.06qrwj m.05yr0_d m.08l5vh
Walkers Shortbread Fortune cookie Shortcake Oreo Girl Scout Cookies Tim Tam Peanut butter cookie Pretzel Rainbow cookie Ginger nut Springerle Snickerdoodle Krumkake Black and white cookie Shortbread Lorna Doone Chips Deluxe Oatmeal-Raisin Cookies Chips Ahoy!
class class class entity
food.dish food.type_of_dish food.dish m.07ntg2r
food.dish food.type_of_dish food.dish food.recipe
Dish Type of dish Dish Chocolate Chip Cookies
none none none none
food.dish.type_of_dish1 food.type_of_dish.dishes food.dish.recipes
Type of dish Dishes Recipes
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 . 
?x1 :type.object.type :food.type_of_dish . 
?x2 :type.object.type :food.dish . 
VALUES ?x3 { :m.07ntg2r } 
?x0 :food.dish.type_of_dish1 ?x1 . 
?x1 :food.type_of_dish.dishes ?x2 . 
?x2 :food.dish.recipes ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND food.dish (JOIN food.dish.type_of_dish1 (JOIN food.type_of_dish.dishes (JOIN food.dish.recipes m.07ntg2r))))