added examples of projection and pattern matching using HQL