This type of sentiment analysis compares the sentiment of one entity or group to another entity or group.