Prime Minister Recep Tayyip Erdogan said the attack was the work of terrorists , but he did not blame any specific group .