For a live version of these examples see the Sample Sets Interactive Example.

Blood Samples - Live Version

A sample set recording the original blood draws and aliquots (derived child samples) for a clinical study. The original parent vials for the aliquots are indicated by the column "MaterialInput/Blood Samples".

NameDescriptionVolumeVolumeUnitSampleTypeMaterialInputs/Blood Samples
S1Baseline blood draw10mLWhole Blood 
S2Baseline blood draw10mLWhole Blood 
S3Baseline blood draw10mLWhole Blood 
S4Baseline blood draw10mLWhole Blood 
S1.100Aliquot from original vial S12mLWhole BloodS1
S1.200Aliquot from original vial S12mLWhole BloodS1
S1.300Aliquot from original vial S16mLWhole BloodS1
S2.100Aliquot from original vial S22mLWhole BloodS2
S2.200Aliquot from original vial S24mLWhole BloodS2
S2.300Aliquot from original vial S24mLWhole BloodS2

The following image shows the derivation graph for one the aliquot vials.

Cocktails - Live Version

A sample set capturing cocktail recipes. The column "MaterialInputs/Cocktails" refers to multiple parent ingredient for each recipe.

NameDescriptionMaterialTypeMaterialInputs/Cocktails
VodkaLiquorLiquid 
GinLiquorLiquid 
BourbonLiquorLiquid 
BittersMixerLiquid 
VermouthMixerLiquid 
IceGarnishSolid 
OliveGarnishSolid 
Orange SliceMixerGarnish 
MartiniClassic CocktailLiquidGin, Vermouth, Ice, Olive
VespersClassic CocktailLiquidGin, Vodka, Vermouth, Ice
Old FashionedClassic CocktailLiquidBourbon, Bitters, Orange Slice

The derivation diagram for a Martini:

Beer Recipes

This example is consists of four different tables:

  • Beer Ingredient Types: a DataClass used to capture the different kinds of ingredients that go into beer, such as Yeast and Hops. In order to keep this example simple, we have consolidated all of the ingredient types into one large DataClass. But you could also split out each of these types into separate DataClasses, resulting in four different DataClases: Yeast Types, Hops Types, Water Types, and Grain Types.
  • Beer Recipe Types: a DataClass used to capture the different kinds of beer recipes, such as Lager, IPA, and Ale.
  • Beer Ingredient Samples: a Sample Set that instantiates the ingredient types.
  • Beer Samples: a Sample Set that captures the final result: samples of beer mixed from the ingredient samples and recipes.
The image below shows the derivation diagram for an Ale sample:

Tables used in the sample:

Beer Ingredient Types - Live Version

NameDescriptionForm
WaterWater from different sources.liquid
YeastYeast used for fermentation.granular
GrainGrain types such as wheat, barley, oats, etc.solid
HopsVarious hop strainssolid

Beer Recipe Types - Live Version

NameRecipe Text
LagerMix and bottom ferment.
AleMix and use wild yeast from the environment.
IPAMix using lots of hops.

Beer Ingredient Samples - Live Version

NameDescriptionVolumeVolumeUnitsDataInputs/Beer Ingredient Types
Yeast.1Sample derived from Beer Ingredient Types10gramsYeast
Yeast.2Sample derived from Beer Ingredient Types10gramsYeast
Yeast.3Sample derived from Beer Ingredient Types10gramsYeast
Water.1Sample derived from Beer Ingredient Types1000mLWater
Water.2Sample derived from Beer Ingredient Types1000mLWater
Grain.1Sample derived from Beer Ingredient Types100gramsGrain
Grain.2Sample derived from Beer Ingredient Types100gramsGrain
Hops.1Sample derived from Beer Ingredient Types3gramsHops
Hops.2Sample derived from Beer Ingredient Types3gramsHops

Beer Samples - Live Version

NameMaterialInputs/Beer Ingredient SamplesDataInputs/Beer Recipe Types
Lager.1Yeast.1, Water.2, Grain.1, Hops.2Lager
Ale.1Yeast.2, Water.1, Grain.1, Hops.1Ale
IPA.1Yeast.3, Water.2, Grain.2, Hops.2IPA

Related Topics

discussion

Discussion

Search 

Pages 

previousnext
 
expand all collapse all