Question: Who was the head of the government of Tamil Nadu before O. Panneerselvam?
Paraphrase: Name the head of the Government of Tamil Nadu before O.Panneerselvam?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q1445 p:P6 ?s . ?s ps:P6 ?obj . ?s pq:P156 wd:Q3523238 }