]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - vendor/cxtm/ctm/in/template-references.ctm
examples: explore project work through native Topic Maps (slice 22U)
[topic-maps.git] / vendor / cxtm / ctm / in / template-references.ctm
1 %prefix ex http://psi.example.org/ex/
2
3 # checking that different kinds of references inside an uninvoked template
4 # do not create topics in the output. going through all types of references
5 # not tested elsewhere.
6 def template()
7 # subject locator
8 = http://psi.example.org/ex/foo isa = http://psi.example.org/ex/bar .
9
10 # subject identifier
11 http://psi.example.org/ex/foo isa http://psi.example.org/ex/bar .
12
13 # item identifier
14 ^ http://psi.example.org/ex/foo isa ^ http://psi.example.org/ex/bar .
15
16 # qname
17 ex:foo isa ex:bar .
18 end