(n)comparisonrelation based on similarities and differences