How to mimick a Discrete Bayes Net in Turing.jl?

Also see the RxInfer.jl tutorial on Bayesian networks.