Question: who wrote nothing compares to you by sinead o connor
Answer: `` Nothing Compares 2 U '' is a song written and composed by Prince for one of his side projects , The Family , for the eponymous album The Family .