-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Augment Wikidata graph with ranking information better than the sitelinks count #676
Comments
Adding triples for ranking would be rather easy, but I have a question: We always use Have you tried |
I am using the sitelinks count but I see it as just one metric:
My current use case is reimplementing wikitrivia-generator, which is currently heavy and slow:
See more on the pain here: tom-james-watson/wikitrivia#26 (comment) |
@tuukka Do you have a demo of what the wikitrivia-generator does? Without fully understanding yet, what you want, a viable approach might be:
Don't be afraid of building and running a qlever instance, it's as simple as this in a directory with a TTL file (which could be obtained via a CONSTRUCT query), using the qlever script:
|
Here's the original game: https://wikitrivia.tomjwatson.com/ Here's the game data file as produced by wikitrivia-generator (in English, with items that were once generated and never updated, as it's too much hassle): https://wikitrivia-data.tomjwatson.com/items.json So far, some people seem to have been able to fork the script and run it in their own language with more or less success: Basque, Romanian. Ideally, it would be possible for the player to pick any language supported by Wikidata, and the game could make a suitable Sparql query to get a fresh set of up-to-date items for that language and no other backend infrastructure was needed. You are right, it is also possible to implement this query without using the official QLever instance for now, and this issue could be tagged |
Thanks for the explanation, now I understand. For this kind of application, asking a Wikidata SPARQL endpoint from time to time seems to be the method of choice. But isn't then a query like https://qlever.cs.uni-freiburg.de/wikidata/m76Lrg doing exactly what you need? It works for any language and takes 20 - 30 seconds. |
Would it be easy to add some ranking information (triples) to the Wikidata endpoint? This has been discussed for years elsewhere (T143424 T174981), but I'm not aware of a query endpoint that would provide this yet. Here's two open-sourced rankings that I could find:
QRank (pageviews): https://qrank.wmcloud.org/
Danker (PageRank): https://danker.s3.amazonaws.com/index.html
The text was updated successfully, but these errors were encountered: