WikipediaSearch

WikipediaSearch[keywords]

returns a list of Wikipedia articles whose titles include the given keywords.

WikipediaSearch["Title"keywords,options]

returns a list of Wikipedia articles whose titles include the given keywords.

WikipediaSearch["Category"keywords,options]

returns a list of Wikipedia categories whose titles include the given keywords.

WikipediaSearch["Content"keywords]

returns a list of Wikipedia articles whose content includes the given keywords.

WikipediaSearch["GeoLocation"loc]

returns a list of Wikipedia articles whose associated coordinates are near the given article or location.

Details and Options

  • WikipediaSearch utilizes MediaWiki's API to find article and category pages in the English-language Wikipedia.
  • In "GeoLocation"loc, loc can be a Wikipedia article title or a valid GeoPosition.
  • Options supported by WikipediaSearch include:
  • MaxItems500number of results to return
    GeoDistancesearch radius in meters for GeoLocation queries (minimum 10 meters, maximum 10000 meters); also allows Quantity objects

Examples

Basic Examples  (3)

Search for articles by title:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Search for articles by content:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Find Wikipedia articles with coordinates near a given article or location:

In[1]:=
Click for copyable input
Out[1]=

See Also

WikipediaData  DictionaryLookup  GeoNearest

Introduced in 2014
(10.0)