“If words are arrows on a meaning map, how might a system tell whether two of them point the same way?”
Nearly the same direction — both point 'toward hot-water hardware'.
Given two 3-number vectors, compute the dot product by hand and say whether they are 'compatible'.