After the battles of 1683, how many years did the war with the Ottoman Empire last?
return the  war with the   Ottoman Empire ;return years of #1 ;return the  highest of #2 ;return the  difference of #3 and  1683
['select', 'project', 'aggregate', 'project']