getting relationships between traits