Random forests for combining selection and aggregation in relational data mining