find beers of style kölsch.
Entity Entity
m.0n1pyd_ m.0lywwdd
New Holland Full Circle Atwater D-Light
class entity
food.beer m.02h2rn
food.beer food.beer_style
Beer Kölsch
none none
food.beer.beer_style
Beer style
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 . 
VALUES ?x1 { :m.02h2rn } 
?x0 :food.beer.beer_style ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND food.beer (JOIN food.beer.beer_style m.02h2rn))