Poor analogy. Yelp contains facts and user reviews. Encyclopedias contain facts conveyed through written articles. The writing and reviews may be copyright protected. Facts are not.
Using a dominance in search to scrape data from competitors for use in other services and then link to them from search in preference over the data's source may well be anti-competitive, even if the scraping itself isn't illegal.