What is {director} of {worked for} of {Peter Goddard} ?
Which director worked for Peter Goddard?
Who is the director that worked for Peter Goddard?
SELECT ?s WHERE { resource:Peter_Goddard property:employer ?m . ?m property:director_/_manager ?s }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q575072> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P108>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1037> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q575072 wdt:P108 ?X . ?X wdt:P1037 ?answer}
Robbert Dijkgraaf