inference and independencies in bayesian networks 5986823