How to fetch records using predicate from A having relationship with A<-->B<-->C with coredata <p>I have three entities A,B,C. EntityA: Properties: Id,Name Relationships: ABRelation(A-->>B)</p> <p>EntityB: Properties: Id,Name Relationships: BARelation(B-->A) BCRelation(B-->>C)</p> <p>EntityC: RoleId CBRelation(C-->>B)</p> <p>Now I need to fetch records from Entity A having some RoleId = 23 which is contain in C.</p> <p>Could you please help me quickly.Thanks in Advance.</p>