charles wells bombardier satanic mills is produced by which brewery / brand of beer?
Entity
m.0742mr
Charles Wells Ltd
class entity
food.brewery_brand_of_beer m.04dqr71
food.brewery_brand_of_beer food.beer
Brewery / Brand of beer Charles Wells Bombardier Satanic Mills
none none
food.brewery_brand_of_beer.beers_produced
Beers Produced
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.brewery_brand_of_beer . 
VALUES ?x1 { :m.04dqr71 } 
?x0 :food.brewery_brand_of_beer.beers_produced ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND food.brewery_brand_of_beer (JOIN food.brewery_brand_of_beer.beers_produced m.04dqr71))