max(?year)as?endyear