Python Relation-learning Resources