CPS 721 Quiz 1
2021 Practice Version
(not shared) Switch account
Evaluating a Query Using Backchaining
Copyright By PowCoder代写 加微信 powcoder
Read the knowledge base below carefully. It will be used for the following questions. Be careful not to assume anything that is not explicitly given.
Knowledge Base:
1. ann lives in toronto
2. bob lives in chicago
3. carol lives in edmonton
4. toronto is a city of ontario
5. chicago is a city of illinois
6. edmonton is a city of alberta
7. ontario is a region of canada
8. quebec is a region of canada
9. alberta is a region of canada
10. illinois is a region of america
11. if X is a city of Y and Y is a region of Z then Z is a country of X 12. if X lives in Y and Z is a country of Y then X is a resident of Z
Questions are marked automatically; be sure to follow the specified format when responding to short- answer questions.
Record the order in which the numbered statements from the knowledge base are applied when using the backchaining algorithm to the query ‘ann is a resident of canada’. Use a comma to separate the numbers. Do not use spaces. Example: 1,2,3
Your answer
How would the backchaining algorithm answer the following query: ‘X is a country of montreal’
X = america
X = canada
X = quebec
The query would fail
How would the backchaining algorithm answer the following query: ‘america is a country of X’
X = orlando
X = chicago
X = boston
The query would fail
How would the backchaining algorithm answer the following query: ‘carol is a resident of X’
X = canada
X = alberta
X = edmonton
X = america
The query would fail
Clear form
Never submit passwords through Google Forms.
This form was created inside of . Report Abuse
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com