2 %prefix tmcl http://psi.topicmaps.org/tmcl/
3 %prefix tmdm http://psi.topicmaps.org/iso13250/model/
5 foo isa bar; - nametype: "Foo" @ en.
7 bar isa tmcl:topic-type.
8 nametype isa tmcl:name-type.
10 c isa tmcl:topic-name-constraint;
13 tmcl:constrained-topic-type(tmcl:constraint: c, tmcl:constrained: bar)
14 tmcl:constrained-statement(tmcl:constraint: c, tmcl:constrained: nametype)
16 c2 isa tmcl:scope-constraint;
18 tmcl:constrained-statement(tmcl:constraint: c2, tmcl:constrained: nametype)
19 tmcl:allowed-scope(tmcl:allows: c2, tmcl:allowed: tmdm:subject)