What is the {doctoral student} and the {doctoral advisor} of {Werner_Heisenberg} ?
Who is Werner Heisenberg's doctoral student?
Who is the {doctoral student} of the {doctoral advisor} of {Werner_Heisenberg} ?
SELECT ?b ?f WHERE { resource:Werner_Heisenberg property:doctoral_student ?b . resource:Werner_Heisenberg property:doctoral_advisor ?f }
 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/P184> . ?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:P184 ?ans_2 }
Arnold Sommerfeld Edward Teller Arnold Sommerfeld Rudolf Peierls Arnold Sommerfeld Carl Friedrich von Weizsäcker Arnold Sommerfeld Kurt Symanzik Arnold Sommerfeld Hans Heinrich Euler Arnold Sommerfeld Friedwardt Winterberg Arnold Sommerfeld Felix Bloch Arnold Sommerfeld Hermann Arthur Jahn Arnold Sommerfeld Bernhard Kockel Arnold Sommerfeld Wilhelm Macke Arnold Sommerfeld Alfred Recknagel Arnold Sommerfeld Peter Mittelstaedt Arnold Sommerfeld Wilhelm Brenig Arnold Sommerfeld Kostas N. Papanicolas Arnold Sommerfeld Ludwig Bewilogua Arnold Sommerfeld Werner Güttinger Arnold Sommerfeld Wang Foh-San Arnold Sommerfeld Serban-Florentin Titeica Arnold Sommerfeld Richard J. Eden Arnold Sommerfeld Ivan Supek Arnold Sommerfeld Viktor Alexander Garten Arnold Sommerfeld Fritz Kluge Arnold Sommerfeld Gerhard Börner Arnold Sommerfeld Hans Werner Fiedler Arnold Sommerfeld Edwin Karl Gora Arnold Sommerfeld Detlof Julius Alexander Ponsonby Lyon Arnold Sommerfeld Hildegard Geest Arnold Sommerfeld Gerhard Martin Arnold Sommerfeld Willem van der Grinten Arnold Sommerfeld Horst Müller Arnold Sommerfeld Otto Günther