If you are curious about how we implemented this app, feel free to check our source code.
DBpedia and DBpedia Spotlight has been selected as an organization for GSoC2013. If you have project ideas involving DBpedia or DBpedia Spotlight, please let us know, for example through our discussion list at SourceForge.net.