go against vs transgress

go against

verb
  • To violate; to breach; to break. 

  • To oppose; to resist 

  • To be contrary to a trend, feeling or principle. 

  • To be unfavourable to someone. 

transgress

verb
  • To act in violation of some law. 

  • To commit an offense; to sin. 

  • To exceed or overstep some limit or boundary. 

  • To spread over land along a shoreline; to inundate. 

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