which cricket player used to major in medical science?
Entity
m.0ky1
Arthur Conan Doyle
class class entity
cricket.cricket_player education.education m.04sh3
cricket.cricket_player education.education education.field_of_study
Cricket Player Education medical science
none none none
education.education.student education.education.major_field_of_study
Student Major/Field Of Study
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 :cricket.cricket_player . 
?x1 :type.object.type :education.education . 
VALUES ?x2 { :m.04sh3 } 
?x1 :education.education.student ?x0 . 
?x1 :education.education.major_field_of_study ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND cricket.cricket_player (JOIN (R education.education.student) (JOIN education.education.major_field_of_study m.04sh3)))