unwittingly vs with a view to

unwittingly

adv
  • In an unwitting manner; inadvertently, obliviously, unintentionally, unknowingly. 

with a view to

prep
  • With the intention or goal of (followed by a noun or the infinitive). 

How often have the words unwittingly and with a view to occurred in a corpus of books? (source: Google Ngram Viewer )