1. Consumer-1',Isale1,It,Ia) | -sale(Iproducer;Isale3,It,Ia) | saleProd(Iproducer,$FSUM($FSUM(Isale1,Isale2),Isale3)
2. Iconsumer,Isale1,It,Ia) | -sale('Producer-2',Iconsumer,Isale2,It,Ia) | -sale;Iconsumer,Isale3,It,Ia) | salecons(Iconsumer,$FSUM($FSUM(Isale1,Isale2),Isale3)
3. Consumer-1',Isale1,It,Ia) | -salecons;Consumer-3',Isale3,It,Ia) | saletot($FSUM($FSUM(Isale1,Isale2),Isale3)