ad rem vs relating

ad rem

adj
  • Pertinent; relevant. 

adv
  • Pertinently; to the purpose. 

relating

noun
  • The act of relating, or forming or identifying relationships; relation. 

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