what blended spirit has rye as a component?
Entity
m.0ffnm0
Forty Creek Barrel Select
class entity
distilled_spirits.blended_spirit m.01p5b6
distilled_spirits.blended_spirit distilled_spirits.distilled_spirit_type
Blended spirit rye
none none
distilled_spirits.blended_spirit.components
Components
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.blended_spirit . 
VALUES ?x1 { :m.01p5b6 } 
?x0 :distilled_spirits.blended_spirit.components ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND distilled_spirits.blended_spirit (JOIN distilled_spirits.blended_spirit.components m.01p5b6))