A Prolog program used to represent knowledge about this system and to answer queries using the resulting knowledge base.
To run the program:
swipl
Once you enter the Prolog shell, load the program:
['monster.pl'].
And then from there, enter your queries.