Relational Learning: Hard Problems and Phase Transitions