Consistent and coherent relational representation learning