1. A method for automatically generating a relational Bayesian network to model events using synthetic variables, comprising the acts of: providing a language to represent and create a plurality of synthetic variables; providing an inference using the plurality of synthetic variables; and providing a discovery of the plurality of synthetic variables.