which restaurant has cuisine burger and diner food?
Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0fp8g5 m.03318p m.04d956 m.01lc9r m.01lc89 m.09b6t m.04npy6 m.06krg4 m.02jjsq
Snuffy's Malt Shop Denny's Chili's Hard Rock Cafe IHOP KFC Johnny Rockets Shoney's Waffle House
class entity entity
dining.restaurant m.0cdn1 m.01z1ppg
dining.restaurant dining.cuisine dining.cuisine
Restaurant burger Diner food
none none none
dining.restaurant.cuisine dining.restaurant.cuisine
Cuisine Cuisine
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 :dining.restaurant . 
VALUES ?x1 { :m.0cdn1 } 
VALUES ?x2 { :m.01z1ppg } 
?x0 :dining.restaurant.cuisine ?x1 . 
?x0 :dining.restaurant.cuisine ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND dining.restaurant (AND (JOIN dining.restaurant.cuisine m.0cdn1) (JOIN dining.restaurant.cuisine m.01z1ppg)))