Question: Name all the doctoral student of the scientist who also supervised Mary Ainsworth ?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?x prop:doctoralStudents <http://dbpedia.org/resource/Mary_Ainsworth> . ?x prop:doctoralStudents ?uri  . ?x rdf:type onto:Scientist}