What is {general manager} of {workplace} of {Bernard Lewis} ?
Who is the common supervisor of the Bernard Lewis workplace?
Who is the general manager of the Bernard Lewis workplace?
SELECT ?e WHERE { resource:Bernard_Lewis property:employer ?n . ?n property:director_/_manager ?e }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q501880> . ?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:Q501880 wdt:P108 ?X . ?X wdt:P1037 ?answer}
Adrian Smith Robbert Dijkgraaf