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