SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/doctoralStudents> <http://dbpedia.org/resource/John_Bowlby> . ?x <http://dbpedia.org/property/doctoralStudents> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Scientist>}
List all the doctoral student of the scientist who has advised john Bowlby?
SELECT DISTINCT ?v WHERE { ?z property:doctoral_students resource:John_Bowlby . ?z rdf:type ontology:Scientist . ?z property:doctoral_students ?v }
Abraham Maslow, Mary Ainsworth, John Bowlby
The doctoral students of the scientists whose one doctoral student is John Bowlby are [Abraham Maslow, Mary Ainsworth, John Bowlby].
PhD students whose only student is John Boulby are [Abraham Maslow, Mary Ayworth, John Boulby].
The doctoral students of the scientists whose doctoral students is him are [Mary Ainsworth, Abraham Maslow, John Bowlby].
Doctoral students of those scientists whose doctoral students he is [Mary Ayworth, Abraham Maslow, John Boulby].