examples/CQL/Diplomacy.cql in activefacts-0.8.10 vs examples/CQL/Diplomacy.cql in activefacts-0.8.12
- old
+ new
@@ -36,13 +36,13 @@
* Constraints:
*/
for each Diplomat, Country at most one of these holds:
Diplomat serves in Country,
Diplomat represents Country;
-Diplomat is an Ambassador that is from Country(2) to Country(1)
- only if Diplomat represents Country(2);
Diplomat is an Ambassador that is from Country(1) to Country(2)
- only if Diplomat serves in Country(2);
+ only if Diplomat represents Country(1);
+Diplomat is an Ambassador that is from Country(2) to Country(1)
+ only if Diplomat serves in Country(1);
Diplomat serves in Country
only if Diplomat speaks Language that is spoken in Country;
each Ambassador occurs at least one time in
Ambassador is from Country(1) to Country(2);