Wikidata hosts the QRank dataset, which scores Wikidata items by popularity. This can be useful for ranking Wikipedia pages or OpenStreetMap entities.
They publish the dataset as a gzipped CSV file, qrank.csv.gz.
This repository republishes the data as a SQLite database with an index, so that random-access queries are fast.
You can download qrank.db here.