Sha256: 36c2b51bcb741dc7d134ecaa1ad43ebfe178949223a1f4469fc0f61a85c48b95

Contents?: true

Size: 1002 Bytes

Versions: 25

Compression:

Stored size: 1002 Bytes

Contents

vocabulary RedundantDependency;

/*
 * Value Types
 */
Address Id is written as Auto Counter;
District Number is written as Signed Integer(32);
Politician Id is written as Auto Counter;
Postal Code is written as Signed Integer(32);
State Or Province Id is written as Auto Counter;

/*
 * Entity Types
 */
Address is identified by its Id;
Address is assigned at most one Postal Code;

Politician is identified by its Id;

State Or Province is identified by its Id;
Address is in at most one State Or Province;

Legislative District is identified by District Number and State Or Province where
	Legislative District has one District Number,
	Legislative District is for one State Or Province;
Address is in at most one Legislative District;
Politician represents at most one Legislative District,
	Legislative District is represented by one Politician;

/*
 * Constraints:
 */
Address is in Legislative District
	only if Address is in State Or Province and Legislative District is for State Or Province;

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
activefacts-examples-1.9.9 cql/RedundantDependency.cql
activefacts-examples-1.9.8 cql/RedundantDependency.cql
activefacts-examples-1.8.0 cql/RedundantDependency.cql
activefacts-examples-1.7.2 cql/RedundantDependency.cql
activefacts-examples-1.7.1 cql/RedundantDependency.cql
activefacts-1.6.0 examples/CQL/RedundantDependency.cql
activefacts-1.5.3 examples/CQL/RedundantDependency.cql
activefacts-1.5.2 examples/CQL/RedundantDependency.cql
activefacts-1.5.1 examples/CQL/RedundantDependency.cql
activefacts-1.5.0 examples/CQL/RedundantDependency.cql
activefacts-1.3.0 examples/CQL/RedundantDependency.cql
activefacts-1.2.1 examples/CQL/RedundantDependency.cql
activefacts-1.2.0 examples/CQL/RedundantDependency.cql
activefacts-1.1.0 examples/CQL/RedundantDependency.cql
activefacts-1.0.2 examples/CQL/RedundantDependency.cql
activefacts-1.0.1 examples/CQL/RedundantDependency.cql
activefacts-1.0.0 examples/CQL/RedundantDependency.cql
activefacts-0.8.18 examples/CQL/RedundantDependency.cql
activefacts-0.8.16 examples/CQL/RedundantDependency.cql
activefacts-0.8.15 examples/CQL/RedundantDependency.cql