patriotism vs xenophobia

patriotism

noun
  • Love of one's country; devotion to the welfare of one's compatriots; passion which inspires one to serve one's country. 

  • The actions of a patriot 

  • The desire to compete with other nations; nationalism. 

xenophobia

noun
  • A strong antipathy or aversion to strangers or foreigners. 

  • A fear of aliens. 

  • A fear of strangers or foreigners. 

  • A hatred of strangers or foreigners. 

How often have the words patriotism and xenophobia occurred in a corpus of books? (source: Google Ngram Viewer )