Professional Documents
Culture Documents
Lab Session: 6
Experiment 6
Number
Experiment WAP using SWI Prolog for implementation of family tree with predicates like
Title father, mother, son, daughter, grandfather, grandmother, aunt, and uncle for
facts like male, female, parent, brother and sister.
Concept
This Prolog logic base defines predicates for easy tasks and gizmos associated
with letters and numbers. It can be used to demonstrate basic Prolog
concepts such as facts, predicates, and querying.
Result
Conclusion
In conclusion, the SWI Prolog family tree project offers a powerful tool for
modeling and querying familial relationships with efficiency and accuracy,
aiding in various applications from genealogy research to social network
analysis.