Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: why hierarchy?

Re: why hierarchy?

From: Neo <neo55592_at_hotmail.com>
Date: 26 Jul 2006 09:40:37 -0700
Message-ID: <1153932037.504782.123790@h48g2000cwc.googlegroups.com>


> ... I'd rather know what's involved to add God's father to the db.

Assuming god's father is a person named bob, it would be:

(new 'bob 'person)
(createWRR god parent bob)

The above is equivalent to below:

(new)
(create person instance (it))
(create (it) name

                   (block
                       (new)
                       (create word instance (it))
                       (create (it) symbolizedBy (create 'b 'o 'b))
                       (return (it))
                   )

)

(create god parent bob)
(create bob child god)
Received on Wed Jul 26 2006 - 11:40:37 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US