A Relational Approach for Learning Minimal Rules from Examples