Re: Reification of Associations created using a Template in CTM

Lars Heuer <[email protected]>
Newsgroups gmane.text.xml.xtm.general
Message-ID <[email protected]>
Hi Benjamin,

[...]
> According to the CTM-Spec, reification cannot be applied to a template
> invocation (which would be nice but also problematic e.g. with
> templates ending with a topic).
>
> d isa document;
>  - "Title of this document";
>  by(some_author) ~ [ note: "something I want to remember here"] .
>
>
> I'm wondering if there are valid and equally concise ways of
> expressing this. Any ideas?

The only option is adding a template like the following:

def by($authored_thing, $author, $reifier)
   author-of(authored_thing: $authored_thing, author: $author) ~ $reifier
end

d by(me, [note: "bla blub"])

Note, that you can define both templates: The binary by and the
ternary by in one CTM instance.
CTM chooses the right template automatically.

Best regards,
Lars
-- 
Semagia
<http://www.semagia.com/>
_______________________________________________
topicmapmail mailing list
[email protected]
http://www.infoloom.com/mailman/listinfo/topicmapmail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.