2 %prefix tmcl http://psi.topicmaps.org/tmcl/
4 foo(role: bar, role: baz)
6 foo isa tmcl:association-type.
7 role isa tmcl:role-type.
10 quux isa tmcl:topic-type.
12 c2 isa tmcl:association-role-constraint;
15 tmcl:constrained-statement(tmcl:constraint: c2, tmcl:constrained: foo)
16 tmcl:constrained-role(tmcl:constraint: c2, tmcl:constrained: role)
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)