attach to vs have relationship to

attach to

have relationship to

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