There are many entities in Wikidata and processing them all is too expensive for certain purposes. However, for statistical purposes (for example, to get any kind of proportion of property use, completeness, consistency, etc.), it's not necessary to retrieve and process them all, a small subset can be enough if representative (random).
Currently, it's hard to retrieve a random data set from Wikidata because:
- the Wikidata Query Service doesn't retrieve entities randomly;
- Special:Random requires two requests for every retrieved entity (first, a HTTP GET to Special:Random; then, a HTTP GET to the suggested item), doesn't support filters, and offers no significant advantage over directly generating random integers and addressing HTTP requests to the corresponding URIs.
It would be useful to have either:
- the possibility of randomly retrieving data through the Wikidata Query Service (best option), or
- a new tool to download an arbitrary number of random entities from Wikidata as a single file on demand.

