I was looking for an API service where I can ask it a general question (for example, when was Einstein born?) and retrieve an answer from the web.

Is there any available service to do that? Have tried Watson services, but didn't work as expected.


You can use Google

https://encrypted.google.com/search?hl=en&q=when%20was%20Einstein%20born and parse the response.

Wolfram ALPHA is another candidate.


You can parse the returned html and see "Result:" div.


You could use dbPedia and/or wikidata. I think Wikidata supports SPARQL now, but don't quote me on that. dbPedia definitely supports SPARQL.

If you're not interested in writing SPARQL queries by hand, you could use something like Quepy. In fact, the Quepy demo demonstrates doing natural language queries against Freebase and/or dbPedia.

You could possibly also incorporate OpenCyc.

If you want to roll something of your own, you might want to read some / all of the research papers published by the team from the START project at MIT.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.