Which of the following was NOT one of the major factors that led up to World War I?
A. socialism
B. imperialism
C. militarism
D. nationalism