0% found this document useful (0 votes)
7 views1 page

Chances

The document outlines a series of AI experiments involving Prolog programming. Tasks include finding subsets of lists, checking membership, implementing the Euclidean algorithm for GCD, concatenating lists, and developing a family tree knowledge base to retrieve various familial relationships. Specific queries include checking sibling and cousin relationships, listing children, siblings, maternal aunts, and nephews/nieces within a family tree context.

Uploaded by

saif.221230.co
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Chances

The document outlines a series of AI experiments involving Prolog programming. Tasks include finding subsets of lists, checking membership, implementing the Euclidean algorithm for GCD, concatenating lists, and developing a family tree knowledge base to retrieve various familial relationships. Specific queries include checking sibling and cousin relationships, listing children, siblings, maternal aunts, and nephews/nieces within a family tree context.

Uploaded by

saif.221230.co
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

AI EXPERIMENTS

1.write a program in prolog to find subset of a given list

2.check membership of an element and display the elements of given list

3.Implement Euclidian algorithm to compute GCD of two non-negative number

4.Concatenate the elements of two list and display the third concatenated list

5.Devleop the knowledge base of family tree and retrieve the following information

Check whether two persons are sibling or first cousins

Note: The parent and male-female information is available in the knowledge base. Other relations
are to be calculated.

6.Develop the knowledge base of a family tree and retrieve the following information

a) Display the list of children of mother


b) Display the list of brother and/or sisters of a person
c) Display the list of maternal aunt of a child

7) Develop a knowledge base of a family tree and retrieve the following information
A) Display the list of nephews and nieces of a person from a long family tree
b) Also check at least one of the nephew /nieces whose parents are sibling to each other

You might also like