Skip to content

Opening book details…

About this document

Prolog Facts and Rules Explained by Muhammad Hassaan is a document available to read on EtoBox.

This document discusses rules in Prolog. It defines rules as generalizing facts by adding conditions, and explains their syntax as having a head and body separated by ":-". Rules indicate that a predicate is true if the predicates in the body are true. Examples show rules for relationships like mother(X,Y) being true if X is female and a parent of Y. The document provides tasks to write rules for sentences, convert sentences to facts, define predicates for family relationships and seating positions, and cre

Author
Muhammad Hassaan
Language
EN