Construct A Bayesian Network Model