The loop is repeated until convergence or a fixed number of iterations is reached.
each triple encodes a spatial relation between two objects in the following format: <<adj1, obj1>, prep, <adj2, obj2>>.