scripts to process freebase dump