This wiki is locked. Future workgroup activity and specification development must take place at our new wiki. For more information, see this blog post about the new governance model and this post about changes to the website.

TWiki> Main Web>PmHome>MetricsHome>MetricsWorkingDocuments>MetricsEMS10RestApi>MetricsEMS10RestApiDataModel>MetricsEmsFactDistributionTable (24 Sep 2010, ArthurRyman)

Metric entities: ems:Measure, ems:MeasureDistribution, ems:FactTable, ems:FactDistributionTable, ems:Map, ems:WorkBreakdownStructure

A fact distribution table is a fact table that contains probability distributions instead of precise numeric values for its measures. Fact distribution tables are used in scenario assumptions (see ems:assumesTable) and estimate predictions (see MetricsEmsEstimate#ems_predictsTable).

A ems:FactDistributionTable resource represents a fact distribution table. It is similar in structure to an ems:FactTable resource. It contains inline resources of type ems:Head and ems:DimensionCell which are defined in the data model of ems:FactTable.

An ems:FactDistributionTable resource has the following properties:

Property | Range | Type | Occurrence | Edits | Description |
---|---|---|---|---|---|

dcterms:title | datatype | rdf:XMLLiteral | exactly-one | read-write | A short title for the fact distribution table. Valid XHTML <span> element content. |

ems:head | local inline resource | ems:Head | exactly-one | read-write | The head of the fact distribution table. |

ems:factDistribution | local inline resource | ems:FactDistribution | one-or-more | read-write | A fact distribution row in the fact distribution table. |

This required property gives a short title for the fact distribution table. Its datatype is XML literal and it MUST contain valid XHTML <span> element content.

This required property contains an inline ems:Head resource that defines the columns of the fact distribution table. The head of the table describes the data that the table contains.

This multi-valued property refers to inline ems:FactDistribution resources that are the rows of the fact distribution table. There MUST be one or more rows present in the fact distribution table.

This inline resource defines a row of a fact distribution table. It contains a set of dimension and measure distribution cells. The dimension and measure distribution cells MUST correspond exactly to the dimension and measure columns defined in the ems:Head resource of the fact distribution table. Each dimension cell MUST refer to a unique dimension column and each dimension column MUST be referred to by a unique dimension cell. Each measure distribution cell MUST refer to a unique measure column and each measure column MUST be referred to by a unique measure distribution cell.

The correspondence between cells and columns is achieved in RDF/XML representations via resource identifiers. Each column defined in the head MUST have a unique identifier defined by an rdf:ID attribute. Each cell in a row MUST have an ems:inColumn property that refers to the column via an rdf:resource attribute.

An ems:FactDistribution resource has the following properties:

Property | Range | Type | Occurrence | Edits | Description |
---|---|---|---|---|---|

ems:dimensionCell | local inline resource | ems:DimensionCell | one-or-more | read-write | A cell that holds a dimension value for a dimension column. |

ems:measureDistributionCell | local inline resource | ems:MeasureDistributionCell | one-or-more | read-write | A cell that holds a measure distribution for a measure column. |

The value of this required property in an inline ems:DimensionCell resource that holds the value of the dimension for a dimension column.

The value of this required property in an inline ems:MeasureDistributionCell resource that holds the measure distribution for a measure column.

This inline resource contains a measure distribution in a row of a fact table.

It has the following properties:

Property | Range | Type | Occurrence | Edits | Description |
---|---|---|---|---|---|

ems:inColumn | resource | ems:MeasureColumn | exactly-one | read-write | The identifier of the measure column of this cell. |

ems:distribution | local inline resource | ems:ProbabilityDistribution | exactly-one | read-write | The probability distribution of the measure for this cell. |

Enter your comments here:

Topic revision: r6 - 24 Sep 2010 - 20:52:58 - ArthurRyman

Copyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Contributions are governed by our Terms of Use

Ideas, requests, problems regarding this site? Send feedback

Contributions are governed by our Terms of Use

Ideas, requests, problems regarding this site? Send feedback