Exercise 3 queries: 1. sibling(alice, Y). 2. cousin(jake, Y). 3. grandparent(X, peter). 4. uncle(X, emma). 5. ancestor(robert, amy). 6. uncle(X, peter). 7. ancestor(robert, Y). 8. bigger_brother(X, emma). 9. older_sibling(X, tom). 10. mother(linda, Y). Exercise 4 queries: 1a. brother_in_law(bob, Y). 1b. brother_in_law(michael, Y). 1c. brother_in_law(mark, Y). 1d. brother_in_law(X, bob). 1e. brother_in_law(X, michael). 1f. brother_in_law(X, mark). 1g. sister_in_law(alice, Y). 1h. sister_in_law(sarah, Y). 1i. sister_in_law(chloe, Y). 1j. sister_in_law(X, alice). 1k. sister_in_law(X, sarah). 1l. sister_in_law(X, chloe). 2a. nth_ancestor(1, X, michael). 2b. nth_ancestor(1, michael, Y). 2c. nth_ancestor(2, X, amy). 2d. nth_ancestor(2, sarah, Y). 3a. common_ancestor(jake, nancy, Z). 3b. common_ancestor(john, lisa, Z). 3c. common_ancestor(peter, nancy, Z). 3d. common_ancestor(peter, emma, Z). 4a. common_ancestors(jake, nancy, L). 4b. common_ancestors(jake, amy, L). 4c. common_ancestors(john, lisa, L). 4d. common_ancestors(peter, tom, L). 4e. common_ancestors(peter, amy, L).