Question: Name the scientist whose supervisor also supervised Mary Ainsworth?
SPARQL query: SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/doctoralStudents> <http://dbpedia.org/resource/Mary_Ainsworth> . ?uri <http://dbpedia.org/property/doctoralAdvisor> ?x  . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Scientist>}
Answer: The scientist whose doctoral advisor has Mary Ainsworth as a doctoral student is [Abraham Maslow].