Modelling measurement errors by object-oriented Bayesian networks