Magnetic and electronic structure of the topological semimetal YbMnSb2