amery middle school can be found in what school district?
Entity
m.043q4ln
Amery School District
class entity
education.school_district m.076nm55
education.school_district education.school
School district Amery Middle School
none none
education.school_district.schools
Schools
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_district . 
VALUES ?x1 { :m.076nm55 } 
?x0 :education.school_district.schools ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND education.school_district (JOIN education.school_district.schools m.076nm55))