Re: TMQL: Direct (super|sub)types?
Lars Heuer <[email protected]>
| Newsgroups | gmane.text.xml.xtm.general |
|---|---|
| Organization | Semagia |
| Message-ID | <[email protected]> |
Hi Robert,
[...]
> If TMQL does not introduce a terminology for the distinction, then
> something doubtful will arise because there *is* different ways how
> to tackle this issue. Whatever choice you make on the defaults you
> will have to support it with additional axis. Correct? I like the
> approach the document [1] proposes. What is your alternative proposal?
You can fall back to assocs:
t1 / tmdm:supertype-subtype(tmdm:subtype -> tmdm:supertype)
t1 / tmdm:type-instance(tmdm:instance -> tmdm:type)
(unsure if the tmdm prefix is necessary or if TMDM is the default
namespace in TMQL)
Best regards,
Lars
--
Semagia
<http://www.semagia.com>
<http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list
<http://tinytim.sourceforge.net/> Open Source Topic Maps engine
<http://mappa.semagia.com/> Mappa - Python Topic Maps engine