Structure and magnetic properties of new Be-substituted langasites A3Ga3Ge2BeO14 (A=Pr, Nd, and Sm)