Hello, I would like to create a wolfram application that returns only the Wikipedia summary. Is this possible with the Wolfram Alpha API? I am using Python.
Any help is appreciated.
This looks a lot like a bug in W|A API. You should contact Wolfram support. Alternatively, you could download the summary using one of the Python modules for accessing Wikipedia, or just use the plain old urllib2.
Let's say I ask "Who is Iron Man" in the website. http://www.wolframalpha.com/input/?i=who+is+iron+man I will get a response with the wikipedia summary.
I have tried the API explorer. But when I use it for the same query the Wikipedia summary is absent. http://products.wolframalpha.com/api/explorer.html
Thanks again for your help. Wolfram is pretty awesome.
What query are you using to get the wikipedia summary? What does your API query look like?
Have you tried using the API explorer? http://products.wolframalpha.com/api/explorer.html
Hey Sean,
Wolfram|Alpha does give me the wikipedia summary if I run the queries here http://www.wolframalpha.com/ but it doesnt if I use the python package. This is why I am a bit confused.
Thanks, Glenn
You can use the WolframAlpha API to interact with Wolfram|Alpha.
Wolfram|Alpha doesn't do this thing you want with Wikipedia articles, does it? Wolfram|Alpha is mostly free to use. You can try it and see it what it does.