building graph.db of gowalla data