Question: When was Dan Plato elected as the head of government of Cape Town?
Paraphrase: When was Dan Plato elected for his first term as person in charge of Cape Town
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q5465 p:P6 ?s . ?s ps:P6 wd:Q379122 . ?s pq:P580 ?value}