Sha256: 4860f2544f86f50ee743dd3a9bcb5a7d27ef082ad8243f50e664504e4c6f27fb

Contents?: true

Size: 677 Bytes

Versions: 2

Compression:

Stored size: 677 Bytes

Contents

vocabulary SubtypePI;

/*
 * Value Types
 */
EntrantID is written as AutoCounter;
FamilyName is written as VariableLengthText;
GivenName is written as VariableLengthText;
TeamID is written as AutoCounter;

/*
 * Entity Types
 */
Entrant is identified by its ID;

EntrantHasGivenName is where
	Entrant has at least one GivenName,
	GivenName is of Entrant;

Team is a kind of Entrant identified by its ID;

Competitor is a kind of Entrant;
Competitor has one FamilyName;

/*
 * Constraints:
 */
either Entrant is a Competitor or Entrant is a Team but not both;
each combination FamilyName, GivenName occurs at most one time in
	Competitor has FamilyName,
	Entrant has GivenName;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activefacts-0.8.6 examples/CQL/SubtypePI.cql
activefacts-0.8.5 examples/CQL/SubtypePI.cql