qnli question: When was the tide-predicting machine invented by Sir William Thomson invented? sentence: The tide-predicting machine invented by Sir William Thomson in 1872 was of great utility to navigation in shallow waters.