please tell me the military ranks of all service members that served until 1916-05-31
(AND military.rank (JOIN military.rank.used_by_services (ge military.military_service.to_date 1916-05-31^^http://www.w3.org/2001/XMLSchema#date)))