which distilled spirit has a fermentation base that is the fermentation base of rye whisky?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0gndmy m.01019_jv m.03890t m.03ntq8 m.03ntxh m.046gsrg m.06bnqv m.0n1pth_ m.02pm79r m.046d63w m.046d644 m.046gmy5 m.046qx_j m.046qxzf m.046rhrp m.04lyjq m.052k5ld m.0dgy63 m.0gbzzb
Glen Breton Rare Beam Knob Creek Maker's Mark Ancient Age Ezra Brooks Booker's Eagle Rare New Holland Hatter Royale Hopquila Green Spot Balvenie Single Barrel Balvenie Founder’s Reserve Black Maple Hill 23yr Rye Isle of Jura 10 year old Speyburn 10 year old Blackadder Statement 1996 4-year-old Arran Conecuh Ridge Whiskey Black Maple Hill 18yr Rye Frysk Hynder Alberta Premium
class class entity
distilled_spirits.distilled_spirit distilled_spirits.fermentation_base m.01p5b6
distilled_spirits.distilled_spirit distilled_spirits.fermentation_base distilled_spirits.distilled_spirit_type
Distilled spirit Fermentation base rye 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.01p5b6 } 
?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.01p5b6)))