which dish is cookie?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.02vvkvc m.0k5sl 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 Chocolate chip cookie 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 entity
food.dish m.021mn
food.dish food.type_of_dish
Dish Cookie
none none
food.dish.type_of_dish1
Type of dish
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.021mn } 
?x0 :food.dish.type_of_dish1 ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND food.dish (JOIN food.dish.type_of_dish1 m.021mn))