Use the predicates
parent_of/2 to represent the following family
tree as a Prolog knowledge base.
Now, formulate rules to capture the following relationships:
To test your knowledge base ask all kinds of queries. For example,
- Does Harry have an aunt? Who?
- Who are the grandparents of Harry?
- Who are the grandchildren of Paul and Helen?
- Does James have a sister?