News for hackers. Stuff that matters.
Re:Wikimedia Enterprise – APIs for LLMs, AI Training, and More by ks2048 on Tuesday May 21, 2024 @05:38PM (#40434344)
I don't have a problem with having paid special services, but the "machine parsable formats" is a bit troubling since I think that should be a core part of the open wikipedia project.

I submit this link after coming across this site while Googling for info on parsing wikipedia "infoboxes". I plan to check out their "Article Structured Contents (BETA)" API. Improving infoboxes to be machine-readable seems important. And it would be bad if didn't do this because it's a revenue stream for them.

Re:Wikimedia Enterprise – APIs for LLMs, AI Training, and More by zozbot234 on Tuesday May 21, 2024 @08:15PM (#40435898)
DBPedia has been providing machine-readable info drawn from Wikipedia infoboxes for a long time, and that's absolutely an open project. But there are drawbacks to that approach, nowadays Wikipedia users are broadly expected to input that info into Wikidata (a language-independent project, providing its data under the CC0 license) and the Wikipedias are gradually moving towards fetching the information from there as well. The English Wikipedia is somewhat behind on that, so DBPedia might still be useful for parsing info from it.
Re:Wikimedia Enterprise – APIs for LLMs, AI Training, and More by codetrotter on Tuesday May 21, 2024 @05:58PM (#40434559)
There’s also Wikidata which has machine readable data for everyone

https://m.wikidata.org/wiki/Wikidata:Main_Page

> Wikidata is a free and open knowledge base that can be read and edited by both humans and machines.

> Wikidata acts as central storage for the structured data of its Wikimedia sister projects including Wikipedia, Wikivoyage, Wiktionary, Wikisource, and others.

Re:Wikimedia Enterprise – APIs for LLMs, AI Training, and More by riku_iki on Tuesday May 21, 2024 @06:52PM (#40435068)
Yes, but it is different dataset, many(majority?) infoboxes are not in wikidata
Re:Wikimedia Enterprise – APIs for LLMs, AI Training, and More by bawolff on Tuesday May 21, 2024 @05:59PM (#40434578)
Just fyi, i think the plan for machine readable infoboxes is stick the data in wikidata, which has its own dumps in machine readable format as well as a publicly accessible SPARQL query endpoint.

Its actually quite cool. If you have never played with it i encourage checking out some of the example queries (there is a button labelled examples) on https://query.wikidata.org/

Re:Wikimedia Enterprise – APIs for LLMs, AI Training, and More by kemayo on Tuesday May 21, 2024 @08:36PM (#40436047)
Machine-readable infoboxes are surprisingly painful because an "infobox" isn't a top-level thing in mediawiki. Rather, it's something that emerged from community practice -- a template that's slightly-standardized, and has a sprawling network of subtemplates for specific categories of article. Then the assorted other language wikipedias have their own variants of these templates with their own names, etc.

Pulling it into a mediawiki extension (or core) and making it part of the page-level metadata gets suggested pretty frequently, but it's a bit contentious amongst the hardcore editors who'd need to actually adopt such things. The template-based nature of the current infoboxes mean that they're very accessible to the community, and it's easy to spin off new variants or make changes without getting programmers to help you.

There's slow movement towards getting the sort of data that winds up in infoboxes into wikidata, but it's still somewhat spotty.

(If you've never done it, it can be quite edifying to install mediawiki for yourself and seeing how much of the surrounding infrastructure of wikipedia is absent because it's all templates.)

Re:Wikimedia Enterprise – APIs for LLMs, AI Training, and More by PokestarFan on Tuesday May 21, 2024 @10:14PM (#40436682)
I once tried to export a simple infobox template with dependencies and it exported 30-40 different template/module pages.