[ANSWERED] 4-Using the Royal family tree, write a prolog program ( a collection of facts and rules) to answer..

Written by

in

4-Using the Royal family tree, write a prolog program ( a collection of facts and rules) to answer the following queries about the relationships within the Royal family tree. • Who is mother of Prince George of Cambridge? • Who is father of Prince George of Cambridge? • Who is brother of Prince George of Cambridge? • Who is sister of Prince George of Cambridge? • Who is grandfather of Prince George of Cambridge? • Who is grandmother of Prince George of Cambridge? • Who are the children of Queen Elizabeth II? • Who is/are step daughter/s of Queen Elizabeth II ? • Who is/are step son/s of Queen Elizabeth II ? • Who is great grandfather of Prince George of Cambridge? • How many female are there in the Royal family tree? • Which family does have only one child? • Which family/families does/do have two children? • Which family/families does/do have at least two children?

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *