Complex sentence: He was the candidate for the Vice president post for the NDA in 2012; he lost to Hamid Ansari who was the UPA's Vice presidential candidate.
Split into simpler sentences: He was the candidate for the post of Vice president for the NDA in 2012. He lost to Hamid Ansari who was the UPA's Vice presidential candidate.