The trial of the first two individuals detained under the Security Offences (Special Measures) Act 2012 (Sosma) will be heard from May 20.