Re: TMQL - tm:subject

"Andrew S. Townley" <[email protected]> Tue, 3 May 2011 14:24:13 +0100
Newsgroups gmane.text.xml.xtm.general
Message-ID <[email protected]>
On 2 May 2011, at 8:36 AM, Lars Heuer wrote:

> Hi all,
> 
> In TMQL 2008 everything is an instance of tm:subject.
> 
> Question: Is this "master" topic ever part of a result?
> 
> Example:
> 
>    john isa person.
> 
> 
>    john >> types
> 
> Possible results:
> 
>    a) [person]
>    b) [person, tm:subject]
> 
> I think the majority expects (a), but the correct result would be (b)
> since the spec doesn't define that tm:subject is omitted.

I'd agree with (b) given the outcome of our types/isa discussions from earlier in the year.  If types is supposed to give you the whole types list, according to TMQL, tm:subject is the root of everything, so it should be there explicitly too.

Cheers,

ast
--
Andrew S. Townley <[email protected]>
http://atownley.org