What is {writer} of {A Brief History of Time}, that has {professor} is {Dennis W. Sciama} ?
Who wrote  A Brief History of Time by the professor of Dennis W.Sciama?
Who is the writer of A Brief History of Time by the professor of Dennis W.Sciama?
SELECT ?j WHERE { ?j property:student_of resource:Dennis_W._Sciama . resource:A_Brief_History_of_Time property:author ?j }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q471726> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P50>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1066> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q284336> . }
SELECT ?answer WHERE { wd:Q471726 wdt:P50 ?answer . ?answer wdt:P1066 wd:Q284336}
Stephen Hawking