fresher is the lowest grade taught in which school?
Entity Entity Entity Entity
m.074w17 m.04lgh30 m.09hh3t m.047qc7r
School of Environmental and Biological Sciences Royal Wootton Bassett Academy Uckfield Community Technology College Columbia College
class entity
education.school m.03qcdny
education.school education.grade_level
School fresher
none none
education.school.lowest_grade_taught
Lowest grade taught
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.03qcdny } 
?x0 :education.school.lowest_grade_taught ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND education.school (JOIN education.school.lowest_grade_taught m.03qcdny))