UcmModel build Query method