2 %prefix tmcl http://psi.topicmaps.org/tmcl/
4 foo(violator: bar, violator: baz)
6 foo isa tmcl:association-type.
7 violator isa tmcl:role-type.
10 quux isa tmcl:topic-type.
12 violated isa tmcl:association-role-constraint;
16 tmcl:constrained-statement(tmcl:constraint: violated, tmcl:constrained: foo)
17 tmcl:constrained-role(tmcl:constraint: violated, tmcl:constrained: violator)
19 c isa tmcl:topic-role-constraint.
20 tmcl:constrained-topic-type(tmcl:constraint: c, tmcl:constrained: quux)
21 tmcl:constrained-statement(tmcl:constraint: c, tmcl:constrained: foo)
22 tmcl:constrained-role(tmcl:constraint: c, tmcl:constrained: violator)