Question Details

(solution) Consider the following knowledge base: has_access(X,library)


Consider the following knowledge base:

has_access(X,library) ?student(X).

has_access(X,library) ?faculty(X).

has_access(X,library) ?has_access(Y,library) ?parent(Y,X).

has_access(X,office) ?has_keys(X).

faculty(diane).

faculty(ming).

student(william).

student(mary).

parent(diane,karen).

parent(diane,robyn).

parent(susan,sarah).

parent(sarah,ariel).

parent(karen,mary).

parent(karen,todd).

  1. a.Provide an SLD derivation of the queryask has_access(todd,library).
  2. b.The queryask has_access(mary,library)has two SLD derivations. Give both of them.
  3. c.Does there exist an SLD derivation forask has_access(ariel,library)? Explain why or why not.
  4. d.Explain why the set of answers to the queryask has_access(X,office)is empty.
  5. e.Suppose following the clause is added to the knowledge base:    has_keys(X) ?faculty(X).
  6. What are the answers to the query ask has_access(X,office)?

 


Solution details:

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
SiteLock

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

Sep 13, 2020

EXPERT

Tutor

ANSWER RATING

GET INSTANT HELP/h4>

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • As a reference for in-depth understanding of the subject.
  • As a source of ideas / reasoning for your own research (if properly referenced)
  • For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

NEW ASSIGNMENT HELP?

Order New Solution. Quick Turnaround

Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.

WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN A DEADLINE.

Order Now