What is {prime minister} of {Mannheim}, that has {took part in} is {German presidential election, 2009} ?
Who is the prime minister of Mannheim who has taken part in the 2009 Germain presidential election?
SELECT ?answer WHERE { wd:Q2119 wdt:P6 ?answer . ?answer wdt:P1344 wd:Q707051}
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2119> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P6>. ?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/P1344> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q707051> . }
Who is the prime minister of Mannheim who has taken section in the 2009 Germain presidential election?