Latvian director Gints Zilbalodis Flow won the Oscar for best animated feature at the 97th Academy Awards.