Explain rules, fact and queries in Prolog with example.
Answers
Answered by
0
The database is assumed to represent what is true about a particular problem domain. In making a query you are asking Prolog whether it can prove that your query is true. ... For example, suppose our database consists of the following facts about a fictitious family.
Similar questions
Physics,
7 months ago
English,
7 months ago
Business Studies,
1 year ago
Business Studies,
1 year ago
Physics,
1 year ago