What is {co-founded by} of {employed by} of {Gerhard Gentzen} ?
Gerhard Gentzen employs who?
Who is employed by Gerhard Gentzen?
SELECT ?k WHERE { resource:Gerhard_Gentzen property:employer ?q . ?q property:founded_by ?k }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q60502> . ?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/P112> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q60502 wdt:P108 ?X . ?X wdt:P112 ?answer}
Charles IV George II of Great Britain