Generic Implementation of Lithium Query Language (LiQL)