Bayesian Query Construction for Neural Network Models