Data mining books was the lowest hanging fruit. Being a library was a side effect. First and foremost was training their search engine with a massive amount of information.
Ie when you put in a word 'Mroscow' it sees that this term has 500 results while a similar term 'Moscow' has 100 million results. Therefore it assumes that you simply misspelled the word and offers the alternative as suggestion.
It does not know what the actual underlying word means.
PageRank is one of the 200 metrics Google uses nowadays. It's weight is not as great before.