Relationship Explanation Algorithm