Ai Ueda and Yuichi Hosoda each won a gold medal on Thursday at the Asian Games as Japan claimed the top two prizes in both the women's and men's triathlons.