| 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
Bob Badour <bbadour_at_pei.sympatico.ca> writes:
> Can it handle n-ary relations? Like "John bought 10 apples each at
> 10cents" ?
Of course:
bought(john,10,apple,10,cent).
How many apple did john buy?
?- bought(john,HowMany,apple,_price,_money).
-- __Pascal Bourguignon__ http://www.informatimago.com/ HEALTH WARNING: Care should be taken when lifting this product, since its mass, and thus its weight, is dependent on its velocity relative to the user.Received on Fri Apr 21 2006 - 09:33:02 CDT
![]() |
![]() |