Seol mar théacs é seo: Learning and diagnosis in manufacturing processes through an executable bayesian network