]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - vendor/cxtm/tmcl/level-1/invalid/association-roles-not-legal.ctm
examples: explore project work through native Topic Maps (slice 22U)
[topic-maps.git] / vendor / cxtm / tmcl / level-1 / invalid / association-roles-not-legal.ctm
1
2 %prefix tmcl http://psi.topicmaps.org/tmcl/
3
4 foo(violator: bar, violator: baz)
5
6 foo isa tmcl:association-type.
7 violator isa tmcl:role-type.
8 bar isa quux.
9 baz isa quux.
10 quux isa tmcl:topic-type.
11
12 c isa tmcl:topic-role-constraint.
13 tmcl:constrained-topic-type(tmcl:constraint: c, tmcl:constrained: quux)
14 tmcl:constrained-statement(tmcl:constraint: c, tmcl:constrained: foo)
15 tmcl:constrained-role(tmcl:constraint: c, tmcl:constrained: violator)