SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/doctoralStudent> <http://dbpedia.org/resource/John_Bowlby> . ?uri <http://dbpedia.org/property/doctoralAdvisor> ?x . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Scientist>}
Name the scientist whose doctoral supervisor's doctoral student is John Bowlby?
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Scientist . ?h property:doctoral_advisor ?h . ?h property:doctoral_student resource:John_Bowlby }
Abraham Maslow
The scientist whose doctoral supervisor has doctoral student John Bowlby is [Abraham Maslow].
A scientist with a supervisor who has John Boulby as a student is [Abraham Maslov].
The scientist whose doctoral supervisor's doctoral student is him is [Abraham Maslow].
[Abraham Maslov] is the scientist whose doctoral supervisor's doctoral student is John Bowlby.