Latent relational model for relation extraction