physicians is part of which professional field?
Entity
m.0277g
Dentistry
class class class entity
people.professional_field people.profession people.profession m.05t4q
people.professional_field people.profession people.profession people.profession
Professional field Profession Profession physicians
none none none none
people.profession.part_of_professional_field people.profession.specialization_of people.profession.specialization_of
Part of professional field Specialization Of Specialization Of
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 :people.professional_field . 
?x1 :type.object.type :people.profession . 
?x2 :type.object.type :people.profession . 
VALUES ?x3 { :m.05t4q } 
?x1 :people.profession.part_of_professional_field ?x0 . 
?x1 :people.profession.specialization_of ?x2 . 
?x2 :people.profession.specialization_of ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND people.professional_field (JOIN (R people.profession.part_of_professional_field) (JOIN people.profession.specialization_of (JOIN people.profession.specialization_of m.05t4q))))