Created
September 9, 2018 00:41
-
-
Save OtavioHenrique/bbbfdeb93de55fe36ff9d20eacd7d627 to your computer and use it in GitHub Desktop.
A simple Britsh Royal Family base of facts to study Prolog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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