General case of joint probability distribution in BBN

Suppose
the set of variables in a BBN is {A1,A2,&ldots;,An} and that parents(Ai)
denotes the set of parents of the node Ai in the BBN. Then the joint
probability distribution for {A1,A2,&ldots;,An} is: