what spirit is infused with cucumber?
Entity
m.0ckc3c
Hendrick's Gin
class entity
distilled_spirits.infused_spirit m.015x4r
distilled_spirits.infused_spirit food.ingredient
Infused spirit Cucumber
none none
distilled_spirits.infused_spirit.infusion
Infusion
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 :distilled_spirits.infused_spirit . 
VALUES ?x1 { :m.015x4r } 
?x0 :distilled_spirits.infused_spirit.infusion ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND distilled_spirits.infused_spirit (JOIN distilled_spirits.infused_spirit.infusion m.015x4r))