Beilinson–Bernstein Localization Over ℚ and Periods of Automorphic Forms