[tmql-wg] TMQL names vs. occurrences

Lars Heuer heuer at semagia.com
Mon Dec 4 10:47:54 EST 2006


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



More information about the tmql-wg mailing list