Added work example for query service;