which basketball player majors in political sciences?
Entity Entity Entity Entity Entity Entity
m.013rhn m.01wwdb m.047m1bp m.04l5px m.04ppnk m.096bwn
Kevin Johnson Rebecca Lobo Reggie Love Quin Snyder Johnny Dawkins Greg Paulus
class class entity
basketball.basketball_player education.education m.062z7
basketball.basketball_player education.education education.field_of_study
Basketball Player Education political sciences
none none none
education.education.student education.field_of_study.students_majoring
Student Students majoring in this 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 :basketball.basketball_player . 
?x1 :type.object.type :education.education . 
VALUES ?x2 { :m.062z7 } 
?x1 :education.education.student ?x0 . 
?x2 :education.field_of_study.students_majoring ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND basketball.basketball_player (JOIN (R education.education.student) (JOIN (R education.field_of_study.students_majoring) m.062z7)))