NATIONALISM is pride for one’s country while showing disdain or hate for other countries.
IMPERIALISM is not the race to build an Empire and gain control of other nations led to tension and rivalry among European powers.
The TWO alliances during WWI were the Triple Entente and the Triple Alliance.