Fixed external relation format of example relations to contain permutation of attributes as well