freebase graph construction