What is the {doctoral student} and the {student} of {Werner_Heisenberg} ?
Who is the doctoral student of Werner Heisenberg?
Who is the Werner Heisenberg's doctoral student?
SELECT ?b ?d WHERE { resource:Werner_Heisenberg property:student ?d . resource:Werner_Heisenberg property:doctoral_student ?b }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q40904> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P185> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_1. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q40904> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P802> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_2. } 
SELECT ?ans_1 ?ans_2 WHERE { wd:Q40904 wdt:P185 ?ans_1 . wd:Q40904 wdt:P802 ?ans_2 }
Erich Bagge Edward Teller Erich Bagge Rudolf Peierls Erich Bagge Carl Friedrich von Weizsäcker Erich Bagge Kurt Symanzik Erich Bagge Hans Heinrich Euler Erich Bagge Friedwardt Winterberg Erich Bagge Felix Bloch Erich Bagge Hermann Arthur Jahn Erich Bagge Bernhard Kockel Erich Bagge Wilhelm Macke Erich Bagge Alfred Recknagel Erich Bagge Peter Mittelstaedt Erich Bagge Wilhelm Brenig Erich Bagge Kostas N. Papanicolas Erich Bagge Ludwig Bewilogua Erich Bagge Werner Güttinger Erich Bagge Wang Foh-San Erich Bagge Serban-Florentin Titeica Erich Bagge Richard J. Eden Erich Bagge Ivan Supek Erich Bagge Viktor Alexander Garten Erich Bagge Fritz Kluge Erich Bagge Gerhard Börner Erich Bagge Hans Werner Fiedler Erich Bagge Edwin Karl Gora Erich Bagge Detlof Julius Alexander Ponsonby Lyon Erich Bagge Hildegard Geest Erich Bagge Gerhard Martin Erich Bagge Willem van der Grinten Erich Bagge Horst Müller Erich Bagge Otto Günther