What does it mean that new facts can be deduced basing on known facts and rules? An example would be appreciated.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
the sentence “new facts can be deduced by known facts and rules” is describing the process of inferring which does exactly that: the knowledge is expanded by adding new facts using the already known facts and rules.
The usual example is this:
another example:
from which you can produce infinite new facts:
succ(1) is a number, succ(succ(1)) is a number etc
as hardmath said, “in prolog queries can be ‘answered’ by deduction based on known facts and rules”. it’s worth mentioning that prolog does not try to find all the facts that could be produced by the set of facts and rules; that would be too slow or even impossible.