Added restful service for accessing the bayesian network schema