ANKARA—President Recep Tayyip Erdogan has been re-elected as chairman of Turkey's governing party .