stanford department of psychology shares a field with what other departments?
Entity Entity Entity Entity Entity Entity Entity
m.02pl59j m.04f28_8 m.02qfjpr m.0d1m48 m.0c1n00p m.0fpq7nv m.0z7wrx4
Harvard Department of Social Relations Princeton University Department of Psychology Department of Psychology, Brigham Young University MSU Faculty of Psychology Wheaton Department of Psychology Caltech Social Sciences Faculty USI, College of Liberal Arts, Department of Psychology
class class entity
education.department education.field_of_study m.0c1d7sk
education.department education.field_of_study education.department
Department Field of study Stanford Department of Psychology
none none none
education.department.field education.department.field
Field Field
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.0c1d7sk } 
?x0 :education.department.field ?x1 . 
?x2 :education.department.field ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND education.department (JOIN education.department.field (JOIN (R education.department.field) m.0c1d7sk)))