Trial begins for trio tied to 2017 Barcelona attacks