specialty cider and perry are what style of beer?
Entity Entity Entity Entity
m.02hv26b m.02hv26h m.02hv26t m.02hv26n
New England Cider Fruit Cider Other Specialty Cider or Perry Apple wine
class entity
food.beer_style m.0g4nfkw
food.beer_style food.beer_style_category
Beer style Specialty Cider and Perry
none none
food.beer_style.bjcp_style_category
BJCP Style Category
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 :food.beer_style . 
VALUES ?x1 { :m.0g4nfkw } 
?x0 :food.beer_style.bjcp_style_category ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND food.beer_style (JOIN food.beer_style.bjcp_style_category m.0g4nfkw))