The main Turkish opposition party claimed on Sunday victory in the mayoral election in the capital Ankara.