Design and implementation of a relational model of risk communication