Towards a Model of Pattern Recovery in Relational Data