Create getRelationship.R