]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - vendor/cxtm/tmcl/level-1/valid/association-roles.ctm
perf(tmdm): index topic normalization merge candidates
[topic-maps.git] / vendor / cxtm / tmcl / level-1 / valid / association-roles.ctm
1
2 %prefix tmcl http://psi.topicmaps.org/tmcl/
3
4 foo(role: bar, role: baz)
5
6 foo isa tmcl:association-type.
7 role isa tmcl:role-type.
8 bar isa quux.
9 baz isa quux.
10 quux isa tmcl:topic-type.
11
12 c2 isa tmcl:association-role-constraint;
13 tmcl:card-min: 2;
14 tmcl:card-max: 2.
15 tmcl:constrained-statement(tmcl:constraint: c2, tmcl:constrained: foo)
16 tmcl:constrained-role(tmcl:constraint: c2, tmcl:constrained: role)
17
18 c isa tmcl:topic-role-constraint.
19 tmcl:constrained-topic-type(tmcl:constraint: c, tmcl:constrained: quux)
20 tmcl:constrained-statement(tmcl:constraint: c, tmcl:constrained: foo)
21 tmcl:constrained-role(tmcl:constraint: c, tmcl:constrained: role)