Personally, I would recommend a light-weight web framework such as [flask (in python) or [URL="http://www.sinatrarb.com/"]sinatra](http://flask.pocoo.org/) (in ruby).
From there you should investigate how to import and query data from the database. I would suggest you look at sqlite and find how to create tables and populate them with data, then how to query that data back from the database. Sqlite is a very simple database and is a great place to start with a project like this, rather than go through the hoops of installing something like mysql or postgresql. I would say that using python is the better option in this respect, as it comes with sqlite, whereas ruby you will need to install sqlite separately to ruby itself (ie as a gem).
I think this is already a lot of information to get started with and don't want to overwhelm you with options. I'm happy to answer any questions or give more advice regarding either the front or back end, so don't be afraid to ask questions.