Rate is related to Score. Score is a type of Compose. Compose is a synonym of Write. Machine can be used for Write. 
Girlfriend is a type of Lover. Girlfriend is a synonym of Female. Female is a type of Animal. 
Rate <--RelatedTo--> Score --IsA--> Compose <--Synonym--> Write <--UsedFor-- Machine 
Lover <--IsA-- Girlfriend <--Synonym--> Female --IsA--> Animal 