TMQL names vs. occurrences
Lars Heuer <[email protected]> Mon, 4 Dec 2006 16:47:54 +0100
| Newsgroups | gmane.text.xml.xtm.tmql |
|---|---|
| Organization | Semagia |
| Message-ID | <[email protected]> |
Hi all,
While reading
http://www.topiwriter.com/toma/Toma.html
and
http://topicmaps.bond.edu.au/junk/tmql.html
I wonder how someone can retrieve the names resp. occurrences of a
particular type.
Does this query return names and occurrences of type 'homepage':
select $p / homepage
where
$p isa person
?
This query:
select $p /names where $p isa person
returns all names of all topics which are an instance of person. But how
can the user specify that she only wants the surnames?
Thanks & best regards,
Lars
--
http://www.semagia.com