Simplify output query to a Bayesian network to a dataframe provided that each node has the same levels.
simplify_query(b)
b
Result from running querygrain.