| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Storing data and code in a Db with LISP-like interface
>> 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
![]() |
![]() |