A characterization of divergence with applications to questionnaire information