Inducing Probability Distributions from Knowledge Bases with (In)dependence Relations