Ontology Learning Through Bayesian Networks