]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - vendor/cxtm/tmcl/level-1/invalid/role-not-enough.ctm
examples: explore project work through native Topic Maps (slice 22U)
[topic-maps.git] / vendor / cxtm / tmcl / level-1 / invalid / role-not-enough.ctm
1
2 %prefix tmcl http://psi.topicmaps.org/tmcl/
3
4 lmg isa person.
5 person isa tmcl:topic-type.
6
7 employed-by(employee: lmg)
8
9 employed-by isa tmcl:association-type.
10 employee isa tmcl:role-type.
11
12 violated isa tmcl:topic-role-constraint;
13 tmcl:card-min: 2;
14 tmcl:card-max: 2.
15 tmcl:constrained-topic-type(tmcl:constraint: violated, tmcl:constrained: person)
16 tmcl:constrained-statement(tmcl:constraint: violated, tmcl:constrained: employed-by)
17 tmcl:constrained-role(tmcl:constraint: violated, tmcl:constrained: employee)