An open source toolkit for mining Wikipedia