Posterior Predictive Model Checking In Bayesian Networks