Added Answer-Study relationship with attribute

Fixed incompatibility issues for relationship.