Skip to content

Instantly share code, notes, and snippets.

@OtavioHenrique
Created September 9, 2018 00:41
Embed
What would you like to do?
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