Re: Resiliency To New Data Requirements
Date: 4 Aug 2006 09:19:17 -0700
Message-ID: <1154708356.981012.290750_at_75g2000cwc.googlegroups.com>
> ... illustrate what all the chicken scratching and ju-ju are doing...
(create bob state on)
(create neo state off)
Now JayDee, could you to extend your initial example to match dbd's
extension below:
(; Find bob's relationship to sage)
(; Find sage's relationship to bob)
(; Finds class)
(select bob * sage)
(; Finds instance)
(select sage * bob)
(; Represent that classifications sages and jerks are opposites)
(new 'opposite 'verb)
(create sage opposite jerk)
(create jerk opposite sage)
(; Find things whose classification is opposite of neo's)
(; Finds bob and jayDee)
(select (select (select neo class *) opposite *) instance *)
(; Represent that states on and off are opposites)
(; Note: the verb/relator opposite already exists in db)
(create on opposite off)
(create off opposite on)
(; Find things whose state is opposite of neo's)
(; Finds bob)
(select * state (select (select neo state *) opposite *))