Skip to content

Instantly share code, notes, and snippets.

@OtavioHenrique
Created September 9, 2018 00:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OtavioHenrique/bbbfdeb93de55fe36ff9d20eacd7d627 to your computer and use it in GitHub Desktop.
Save OtavioHenrique/bbbfdeb93de55fe36ff9d20eacd7d627 to your computer and use it in GitHub Desktop.
A simple Britsh Royal Family base of facts to study Prolog
female(elizabeth).
female(charlotte).
male(philip).
male(harry).
male(george).
male(louis).
male(charles).
male(william).
father(philip, charles).
father(charles, william).
father(charles, harry).
father(william, george).
father(william, charlotte).
father(william, louis).
mother(elizabeth, charles).
mother(diana, william).
mother(diana, harry).
mother(catherine, george).
mother(catherine, charlotte).
mother(catherine, louis).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment