Supervised Bayesian Specification Inference from Demonstrations