what distilled spirit has a fermentation base that is the fermentation base of grain whisky?
Entity Entity Entity Entity Entity Entity Entity
m.01019_jv m.03ntq8 m.03ntxh m.046gsrg m.06bnqv m.04lyjq m.0n1ptw9
Beam Knob Creek Ancient Age Ezra Brooks Booker's Eagle Rare Conecuh Ridge Whiskey New Holland Dutchess Vodka
class class entity
distilled_spirits.distilled_spirit distilled_spirits.fermentation_base m.041j_x
distilled_spirits.distilled_spirit distilled_spirits.fermentation_base distilled_spirits.distilled_spirit_type
Distilled spirit Fermentation base Grain whisky
none none none
distilled_spirits.distilled_spirit.fermentation_base distilled_spirits.distilled_spirit_type.fermentation_base
Fermentation base Fermentation base
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.distilled_spirit . 
?x1 :type.object.type :distilled_spirits.fermentation_base . 
VALUES ?x2 { :m.041j_x } 
?x0 :distilled_spirits.distilled_spirit.fermentation_base ?x1 . 
?x2 :distilled_spirits.distilled_spirit_type.fermentation_base ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND distilled_spirits.distilled_spirit (JOIN distilled_spirits.distilled_spirit.fermentation_base (JOIN (R distilled_spirits.distilled_spirit_type.fermentation_base) m.041j_x)))