]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - vendor/cxtm/tmcl/level-1/valid/role.ctm
Integrate qualified XML anyType values into the XTM reader
[topic-maps.git] / vendor / cxtm / tmcl / level-1 / valid / role.ctm
1 %prefix tmcl http://psi.topicmaps.org/tmcl/
2
3 lmg isa person.
4 person isa tmcl:topic-type.
5
6 employed-by(employee: lmg)
7
8 employed-by isa tmcl:association-type.
9 employee isa tmcl:role-type.
10
11 violated isa tmcl:topic-role-constraint;
12 tmcl:card-min: 1;
13 tmcl:card-max: 1.
14 tmcl:constrained-topic-type(tmcl:constraint: violated, tmcl:constrained: person)
15 tmcl:constrained-statement(tmcl:constraint: violated, tmcl:constrained: employed-by)
16 tmcl:constrained-role(tmcl:constraint: violated, tmcl:constrained: employee)
17
18 c2 isa tmcl:association-role-constraint.
19 tmcl:constrained-statement(tmcl:constraint: c2, tmcl:constrained: employed-by)
20 tmcl:constrained-role(tmcl:constraint: c2, tmcl:constrained: employee)