What is {workplace} of {Kollegah}, that has {first minister} is {Wilhelm von Becker} ?
What is the title of the church where Kollegah works that has Wilhelm Von Becker as senior pastor?
What is the name of the church where Kollegah works that has Wilhelm Von Becker as senior pastor?
SELECT ?t WHERE { ?t property:head_of_government resource:Wilhelm_von_Becker . resource:Kollegah property:work_location ?t }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q58785> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P937>. ?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/P6> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1338290> . }
SELECT ?answer WHERE { wd:Q58785 wdt:P937 ?answer . ?answer wdt:P6 wd:Q1338290}