BayesNet now parses the query