what is the main ingredient of kalimotxo?
Entity
m.081qc
Wine
class class entity
food.ingredient food.ingredient m.03yrc9
food.ingredient food.ingredient food.dish
Ingredient Ingredient Kalimotxo
none none none
food.ingredient.more_specific_ingredient food.ingredient.dishes
More specific ingredient 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.ingredient . 
?x1 :type.object.type :food.ingredient . 
VALUES ?x2 { :m.03yrc9 } 
?x0 :food.ingredient.more_specific_ingredient ?x1 . 
?x1 :food.ingredient.dishes ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND food.ingredient (JOIN food.ingredient.more_specific_ingredient (JOIN food.ingredient.dishes m.03yrc9)))