Automated Construction of Sparse Bayesian Networks from Unstructured Probabilistic Models and Domain Information