Hi I have a knowledge base with loads of the following
family(
person(ronnie,mckeaveney,date(11,october,1951),retired),
person(shirley,mckeaveney,date(12,july,1954),retired),
[ person(diane,mckeaveney,date(25,june,1981),works(cosmic_computers,50000))
]
).
and i need to write a rule that returns everyone who was born in the same month of the same year ?? Can someone please help??
family(
person(ronnie,mckeaveney,date(11,october,1951),retired),
person(shirley,mckeaveney,date(12,july,1954),retired),
[ person(diane,mckeaveney,date(25,june,1981),works(cosmic_computers,50000))
]
).
and i need to write a rule that returns everyone who was born in the same month of the same year ?? Can someone please help??