rum type is what kind of distilled spirit?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0n1xj1h m.0n1xj1y m.046dh76 m.0n1ptwr m.0wzqyht m.0drvx2 m.0f2wgs m.012ngb9l m.0n1ptw2 m.0n1qyrr m.0t_cb2m m.0zds81w m.0n1ptwj
Rogue Dark Rum Rogue Hazelnut Spice Rum El Dorado 5 Years New Holland Freshwater Superior Single Barrel Rum Kraken Rum Old Monk Mekhong Pirate's Grog Rum New Holland Freshwater Michigan Amber Rum Round Barn DiVine Rum Blackwell Rum Pitorro New Holland Freshwater Huron White Rum
class entity
distilled_spirits.distilled_spirit m.06j8d
distilled_spirits.distilled_spirit distilled_spirits.distilled_spirit_type
Distilled spirit Rum
none none
distilled_spirits.distilled_spirit.spirit_type
Spirit type
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 . 
VALUES ?x1 { :m.06j8d } 
?x0 :distilled_spirits.distilled_spirit.spirit_type ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND distilled_spirits.distilled_spirit (JOIN distilled_spirits.distilled_spirit.spirit_type m.06j8d))