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: Pascal Bourguignon <pjb_at_informatimago.com>
Date: Fri, 21 Apr 2006 16:33:02 +0200
Message-ID: <873bg73so1.fsf@thalassa.informatimago.com>


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

Original text of this message

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