SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/headquarter> <http://dbpedia.org/resource/Berlin> . ?x <http://dbpedia.org/ontology/leader> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/PoliticalParty>}
What are some party leaders of the parties which have had a seat in Berlin?
SELECT DISTINCT ?r WHERE { ?x rdf:type ontology:Political_Party . ?x property:headquarter resource:Berlin . ?x property:leader ?r }
Lothar Bisky, Jan Timke, Martin Sonneborn, Ali Khavari, Walter Nauhaus, Katja Kipping, Bernd Riexinger, Carlos A. Gebauer, Eva Schoeller, Stefan KÃ¶rner
The leaders of the political parties headquartered in Berlin are [Lothar Bisky, Jan Timke, Martin Sonneborn, Ali Khavari, Walter Nauhaus, Katja Kipping, Bernd Riexinger, Carlos A. Gebauer, Eva Schoeller, Stefan KÃ¶rner].
The chairmen of the Berlin-based party are [Lothar Bisky, Jan Timke, Martin Sonneborn, Ali Khavari, Walter Nauhaus, Katja Kipping, Bernd Riexinger, Carlos A. Gebauer, Eva Schoeller, Stefan KÃ¶rner].