Representing ternary relationships in a Relational Model