New in Wolfram Language: WikipediaData function for integrating with Wikipedia and processing its data
- Transfer
Over the years, we have developed various tools for analyzing and extracting information from Wikipedia, but now we are adding an “integration service” with Wikipedia, which will be available in the new version of the Wolfram Language (Mathematica 10.1, which is coming out very soon). Now integrating Wikipedia content into workflows within Wolfram Language has become much easier.
Of course, you can simply take the text from the article on Wikipedia and pass it to the new Wolfram Language functions for text processing and visualization:


If you cannot specify the exact title of the article, you can search by title or content:

You can even use Wolfram Language objects directly in WikipediaData to, say, find similar articles in some other languages that are on Wikipedia.

One of my favorite features allows you to explore article links within a specific article or category. And the main charm is that the data can be displayed using just a simple list, or use various Wolfram Language functions and rules for visualization in the form of, say, a graph. In fact, with just a few lines of code, you can create a beautiful and interesting visualization of the links between any set of Wikipedia articles:

This is just the tip of the iceberg, and this function can do many other useful things. Get your free Wolfram Programming Cloud membership to see what you can implement with WikipediaData after the release of the new version of Wolfram Language, and do not miss the integration releases with other services that will be released over the next year.