This is an old revision of the document!
An Aggregate is when a new Smart Contract is created from a collection of other Smart Contracts and the originally Smart Contracts no longer exist as entities. For example, a can of soup is an aggregate of a can, tomatoes, salt, and other sices. Each of the original objects contained within a Smart Contract are not part of the can of soup.
CREATE AGGREGATE CanOfSoup FROM Tomatoes, Salt, Spice, Water, Onion, Butter, Oregano, Broth WHERE Tomatoes.id = '$1' AND Salt.id = '$2' AND Spice.id = '$3' AND Water.id = '$4' AND Onion.id = '$5' AND Butter.id = '$6' AND Oregano.id = '$7' AND Broth.id = '$8' RECORD {"Tomatoes", Tomatoes.id} AND {"Salt", "Salt.id} and {"Spice", "Spice.id} AND {"Water", "Water.id} and {"Onion", "Onion.id} AND {"Butter", "Butter.id} and {"Oregano", "Oregano.id} AND {"Broth", "Broth.id} AS parents, "Canning" AS process;