Text this: General framework of nonlinear factor interactions using bayesian networks for risk analysis applied to road safety and public health