Re: why hierarchy?

From: Aloha Kakuikanu <aloha.kakuikanu_at_yahoo.com>
Date: 31 Jul 2006 15:30:05 -0700
Message-ID: <1154385005.592337.299080_at_h48g2000cwc.googlegroups.com>


JOG wrote:
> Neo wrote:
> > > What if I wanted to record a different sentence - "A person called
> > > John is friends with Frank within the remit of Work"?
> > > (i.e. they aren't friends outside of workhours)
> >
> > (new 'john 'person)
> > (new 'frank 'person)
> > (new 'at 'preposition)
> > (new 'work)
> > (create john (create friend at work) frank)
> > (create frank (select friend at work) john)
> >
>
> I am unclear what you have done here not being familiar with your
> syntax. Could you draw the resulting structure in ascii for me to
> clarify the results of these instructions.

How about little imagination? Here is the famous "find all emps who earn more than their managers":

create `emp
create `mgr

create 'earn
create 'more
create 'who

(select emp who earn more mgr) Received on Tue Aug 01 2006 - 00:30:05 CEST

Original text of this message