]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - vendor/cxtm/tmcl/level-1/valid/topic-reifies-occurrence.ctm
examples: explore project work through native Topic Maps (slice 22U)
[topic-maps.git] / vendor / cxtm / tmcl / level-1 / valid / topic-reifies-occurrence.ctm
1
2 %prefix tmcl http://psi.topicmaps.org/tmcl/
3 %prefix tmdm http://psi.topicmaps.org/iso13250/model/
4
5 person isa tmcl:topic-type.
6 lmg isa person;
7 shoesize: 12 ~shoesize-occ.
8
9 shoesize-occ isa reifier.
10 reifier isa tmcl:topic-type.
11 shoesize isa tmcl:occurrence-type.
12
13 c isa tmcl:topic-occurrence-constraint;
14 tmcl:card-min: 1;
15 tmcl:card-max: 1.
16 tmcl:constrained-topic-type(tmcl:constraint: c, tmcl:constrained: person)
17 tmcl:constrained-statement(tmcl:constraint: c, tmcl:constrained: shoesize)
18
19 c2 isa tmcl:topic-reifies-constraint;
20 tmcl:card-min: 1;
21 tmcl:card-max: 1.
22 tmcl:constrained-topic-type(tmcl:constraint: c2, tmcl:constrained: reifier)
23 tmcl:constrained-statement(tmcl:constraint: c2, tmcl:constrained: shoesize)