Query program for clpr