find the military ranks of those service members who served until 1905-01
(AND military.rank (JOIN military.rank.used_by_services (ge military.military_service.to_date 1905-01^^http://www.w3.org/2001/XMLSchema#gYearMonth)))