CJam, 4847
q~]_~q~_~-g"is
equal greater less
to than"N/Sf/f=*S*
Explanation:
q~ read and evaluate the input (array of 2 numbers)
]_ _ put them induplicate anthe array and duplicate it
~- dump one array on the stack and subtract the numbers
g get signum (-1 for <, 0 for ==, 1 for >)
"…" push that string
N/ split into lines
Sf/ split each line by space
f= get the corresponding word (for the signum) from each line
* join the array of 2 numbers by the array of words
it effectively inserts the words between the numbers
S* join everything with spaces