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_at_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 Sat Apr 22 2006 - 00:02:41 CEST

Original text of this message