what cuisine uses condiment as the main ingredient?
Entity
m.0ddd58v
Sundanese cuisine
class class entity
dining.cuisine food.ingredient m.0gtdm
dining.cuisine food.ingredient food.ingredient
Cuisine Ingredient Condiment
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.0gtdm } 
?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.0gtdm)))