republic of brazil makes what kind of beer?
Entity
m.0djhk0p
Serramalte
class entity
food.beer m.015fr
food.beer location.country
Beer republic of brazil
none none
food.beer.country
Country
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.015fr } 
?x0 :food.beer.country ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND food.beer (JOIN food.beer.country m.015fr))