Learning Relational Concepts at Different Levels of Granularity