Explanation of Solution
The two types of statements that are populate a Prolog
Prolog is a logic
One of the important aspects of Prolog is the intelligent database itself. The database of Prolog contains two kinds of statements:
1. Facts
2. Rules
Facts:
A fact is a predicate expression that makes a declaration about the problem domain. For example to state Joanne is the mother of Jake and Vern is the father of Joanne, the following facts can be added to the database...
Want to see the full answer?
Check out a sample textbook solutionChapter 2 Solutions
Concepts of Programming Languages (11th Edition)
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage