Mining latent entity structures from massive unstructured and interconnected data