Sorry, I don't have an answer for you, hopefully others respond.
When you get the answer... it would be great if you could add a new section called "Statistics" to this page:  Help:Sitelinks - Wikidata
 


On Tue, Mar 22, 2022 at 4:25 PM <finin@umbc.edu> wrote:
Is there a simple way to get the sitelinks count data for all Wikidata items?  I want to use the data to help rank possible text entity links to Wikidata items

I'm really only interested in counts for items that have at least one (e.g., wikibase:sitelinks value that's >0).  According to statistics I've seen, only about 1/3 of Wikidata items have at least one sitelink.

I'm not sure if wikibase:sitelinks is included in the standard WIkidata dump.  I could try a SPARQL query with an OFFSET and LIMIT, but I doubt that the approach would work to completion.
_______________________________________________
Wikidata mailing list -- wikidata@lists.wikimedia.org
To unsubscribe send an email to wikidata-leave@lists.wikimedia.org