Propagation of uncertainty in Bayesian networks by probabilistic logic sampling