This Node.js app demonstrates creation of a bot to answer factoid-style questions about famous people using answers pulled from DBpedia/Wikipedia.
You can view a demo of the factoid bot running on Bluemix.
A six-part tutorial on the factoid bot provides you all the details on running this code plus explaining the theory and practice behind it's implementation.
Just so you know what you're getting into, here's a screenshot of the working bot: