Marelia,
You can get XML output from the MediaWiki API. I'm not aware of an API call to wiki search yet though.
-Courtney
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of mariheida Sent: Monday, February 15, 2010 12:03 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] mediawiki for question answering
Coutney,
Thanks for the reply. I was reading the documentation on Semantic MediaWiki and what I understood is that it is good for more complex queries like «What are the hundred world-largest cities with a female mayor?» since Wikipedia does not provide direct answers for such queries. But the queries I have can be obtained from Wikipedia... (for example: http://en.wikipedia.org/w/index.php?title=Special%3ASearch&redirs=0&...)...
I just need to export them in an xml format. Do you know if this can be done using a special export?
More specifically, this query works: http://en.wikipedia.org/wiki/Special:Export/401(k)
But I cannot make it work for: http://en.wikipedia.org/wiki/Special:Export/what_is_401(k)?
Any ideas?
Thanks again for the help, Marelia
On Mon, Feb 15, 2010 at 9:43 AM, Christensen, Courtney ChristensenC@battelle.org wrote:
mariheida said:
Hello,
I am new to Mediawiki and I'm wondering if it can be used for question answering. For example, retrieve an xml file with the answer to "Who is Barack Obama?".
Thanks! Marelia
MediaWiki does not handle natural language queries like your example out of the box. It will always depend a little on the richness of your data what questions you can answer, but to be able to retrieve something that requires some processing, you might need to look into Semantic MediaWiki.
Good luck! -Courtney
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l