South Africa's Cyril Ramaphosa is set to be inaugurated for his second five-year term as president on Wednesday, following a coalition deal that allowed the African National Congress (ANC) to maintain power despite a significant drop in electoral support.