which school is in the school district of brewton city school district?
Entity Entity Entity
m.0bm2k7 m.02rv82j m.07617yw
T. R. Miller High School Brewton Elementary School Brewton Middle School
class entity
education.school m.047__87
education.school education.school_district
School Brewton City School District
none none
education.school.school_district
School district
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 :education.school . 
VALUES ?x1 { :m.047__87 } 
?x0 :education.school.school_district ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND education.school (JOIN education.school.school_district m.047__87))