Below is a graph of relationships. I have a set of Recipes that I have retrieved and a set of BaseIngredients. I want to return a set of recipes that contain all of those ingredients. My current predicate
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"SELF IN %@ AND ingredientSections.ingredients.baseIngredient IN %@", recipes, self.ingredientsFilter];
fails miserably. What is the correct way of doing this?