eating baileys goes against which dietary restriction?
Entity
m.07_hy
Veganism
class entity
food.dietary_restriction m.024rrx
food.dietary_restriction food.ingredient
Dietary restriction baileys
none none
food.dietary_restriction.incompatible_ingredients
Incompatible ingredients
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.dietary_restriction . 
VALUES ?x1 { :m.024rrx } 
?x0 :food.dietary_restriction.incompatible_ingredients ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND food.dietary_restriction (JOIN food.dietary_restriction.incompatible_ingredients m.024rrx))