at university of toronto, what department does alan turing work in?
Entity Entity
m.09v4k6y m.0gg7clr
University of Toronto Department of Mathematics University of Toronto Department of Computer Science
class class entity entity
education.department education.field_of_study m.0n00 m.07wjk
education.department education.field_of_study education.academic education.university
Department Field of study Alan Turing University of Toronto
none none none none
education.department.field education.field_of_study.academics_in_this_field education.university.departments
Field Academics in this field Departments
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.department . 
?x1 :type.object.type :education.field_of_study . 
VALUES ?x2 { :m.0n00 } 
VALUES ?x3 { :m.07wjk } 
?x0 :education.department.field ?x1 . 
?x1 :education.field_of_study.academics_in_this_field ?x2 . 
?x3 :education.university.departments ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND education.department (AND (JOIN education.department.field (JOIN education.field_of_study.academics_in_this_field m.0n00)) (JOIN (R education.university.departments) m.07wjk)))