I read that all binary relations are associative. i.e (p.q).r = p.(q.r).
However, I was curious that does this hold if p,q, and r are ternary relationships. I tried several examples, such as the one below, but could not prove that ternary relationaships are NOT associate. So, are they associative or not
p = {(a,b,c) , (f,o,x)} q = { (f,d,e), (x,o,c) } r = { (e,t,o), (c,t,s)}
The output for (p.q).r and p.(q.r) in both cases is {(f,o,o,t,s)}