RelNN: A Deep Neural Model for Relational Learning