Text this: A Bayesian Network under Strict Chain Model for Computing Flow Risks in Smart City