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: Storing data and code in a Db with LISP-like interface

Re: Storing data and code in a Db with LISP-like interface

From: Neo <neo55592_at_hotmail.com>
Date: 21 Apr 2006 15:02:41 -0700
Message-ID: <1145656961.425622.268040@u72g2000cwu.googlegroups.com>


>> Neo: What is the proper name of the relationship between ... .
> Nick: answer your questions with statements that are (or resemble) Prolog

Thanks for little Prolog tutorial. Based on your post, I gathered that you might arrange the "class hierarchy" as follows. Note that I understood you to imply that person and fruit are atoms.

atom

   -named_instance/ named_Instance_ofperson

       
          -named_instance/ named_Instance_of-
              john
              mary
       fruit
          -subType-
              apple
              banana

Now, suppose I wanted to classify an actual tomato (tomato1) as both a fruit and a vegetable, where would I add it to the above "class hierarchy"? (You don't need to show me actual Prolog, just adjust above tree) Received on Fri Apr 21 2006 - 17:02:41 CDT

Original text of this message

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