Representations of knowledge and discretionary decision-making by decision-support systems: the case of judicial sentencing