Haha. It'll only resort to randomness if it can't find a justification for something else. To give you an idea, let's take the music example.
ANGELINA has the term 'founder'. It uses a database of words and emotions a colleague of mine built up, called Metaphor Magnet, to find emotions people express towards this concept. One of the top ones of 'charmed' - as in, people feel charmed by founders. This is probably because of the relationship with cults and sects, as seen in the title. Once it has that emotion, it tries to narrow it down towards an emotion it can use to search a music database. To do this, it runs 'charmed' against each of the 20 emotions in the music database, and uses DISCO - a word similarity tool - to see which is nearest. It chooses a piece of music based on this emotion as a result.
The fact that it looks like randomness to you is a problem with perception that software have, I think. It's a common discussion point at the Computational Creativity Conference. Anyway, thanks for commenting! :)