[jugglingdb] add querychainer