]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - vendor/cxtm/tmcl/level-1/invalid/names-not-enough.ctm
examples: explore project work through native Topic Maps (slice 22U)
[topic-maps.git] / vendor / cxtm / tmcl / level-1 / invalid / names-not-enough.ctm
1
2 %prefix tmcl http://psi.topicmaps.org/tmcl/
3
4 lmg isa person;
5 - lastname: "Garshol".
6
7 lastname isa tmcl:name-type.
8 person isa tmcl:topic-type.
9
10 c isa tmcl:topic-name-constraint;
11 tmcl:card-min: 2;
12 tmcl:card-max: 2.
13 tmcl:constrained-topic-type(tmcl:constraint: c, tmcl:constrained: person)
14 tmcl:constrained-statement(tmcl:constraint: c, tmcl:constrained: lastname)