From CPolitini@colonial.com.au  Thu Apr 13 03:10:02 2000
Received: from ntimel09.colonial.com.au (smtp3.colonial.com.au [140.168.245.97])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id DAA11166
	for <prolog@swi.psy.uva.nl>; Thu, 13 Apr 2000 03:10:00 +0200 (MET DST)
Received: from ntxmel05.cmutual.com.au (unverified) by ntimel09.colonial.com.au
 (Content Technologies SMTPRS 4.0.1) with ESMTP id <B8ca8f5614b8c0adf41@ntimel09.colonial.com.au> for <prolog@swi.psy.uva.nl>;
 Thu, 13 Apr 2000 11:07:49 +1000
Received: by ntxmel05.cmutual.com.au with Internet Mail Service (5.5.2448.0)
	id <HXHZ68F6>; Thu, 13 Apr 2000 11:09:37 +1000
Message-ID: <11D5AC2907F2D2118A210008C74C88E2DF409D@NTXSUV01>
From: "Politini, Cohen" <CPolitini@colonial.com.au>
To: prolog@swi.psy.uva.nl
Subject: DATABASE EXTRACTION
Date: Thu, 13 Apr 2000 11:06:54 +1000
X-Mailer: Internet Mail Service (5.5.2448.0)

I am trying to complete a database in prolog but when it comes to data
extraction my set rule can only extract the first match it makes in the
database although I want it to extract every match it makes.

example: To extract birthdates of  any person named John it finds only the
first John I put in the db and outputs his and only his birthdate, although
it should output the other birthdates of all John's listed.

As you can see I have just started learning Prolog and I will really
appreciate your help as soon as possible.

Thanks in advance.


