equivalent to vs in the same class as

equivalent to

in the same class as

How often have the words equivalent to and in the same class as occurred in a corpus of books? (source: Google Ngram Viewer )