Bayesian networks from ontological formalisms in radiation oncology