what is the food in which the ingredient has the more general ingredient of beef?
Entity
m.0kdzn
Sausage
class class entity
dining.cuisine food.ingredient m.0971v
dining.cuisine food.ingredient food.ingredient
Cuisine Ingredient Beef
none none none
dining.cuisine.ingredients food.ingredient.more_general_ingredient
Ingredients More general ingredient
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.cuisine . 
?x1 :type.object.type :food.ingredient . 
VALUES ?x2 { :m.0971v } 
?x0 :dining.cuisine.ingredients ?x1 . 
?x1 :food.ingredient.more_general_ingredient ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND dining.cuisine (JOIN dining.cuisine.ingredients (JOIN food.ingredient.more_general_ingredient m.0971v)))