]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - vendor/cxtm/ctm/in/tmlab-tmql-issue-48.ctm
perf(tmdm): index topic normalization merge candidates
[topic-maps.git] / vendor / cxtm / ctm / in / tmlab-tmql-issue-48.ctm
1 #
2 # Test against <https://code.google.com/p/tmql/issues/detail?id=43>
3 # They seem to use an outdated Semagia MIO CTM version, though
4 #
5 %prefix tmcl http://psi.topicmaps.org/tmcl/
6 %prefix tmdm http://psi.topicmaps.org/iso13250/model
7 def overlaps($tt1, $tt2)
8 ?c isa tmcl:overlap-declaration.
9 tmcl:overlaps(tmcl:allows : ?c,
10 tmcl:allowed : $tt1)
11 tmcl:overlaps(tmcl:allows : ?c,
12 tmcl:allowed : $tt2)
13 end
14 overlaps(<http://en.wikipedia.org/wiki/City>, <http://en.wikipedia.org/wiki/State_(administrative_division)>)