You do know the soviet Government from 1960 until 1977 trained most of the Somali army right? You do know that when the Barre government started using said army against the population rebel groups sprung up right? You do know that this same army disintegrated and joined their respected clan militias when all out civil war erupted in Southern Somalia in 1991 right?
Training military personal does not mean anything unless that personal can protect the country from chaos. Somalia is morally and ethnically bankrupt and will most likely fold overnight to any terrorist group with a mild will to win. Turkey does not care about anything other than what is good for Turkey.