Uses qlc to build queries.