Both sides will benefit from this if you look at it this way - Somalia sits on a strategic location between africa and asia, and the turks want to have an influence over it. Comparing turkey's partnership based approach to western countries and their neocolonial tendencies, it becomes clear that turkey is the country that best serves somalia's interests.