Add the following facts to the sample database in Figure 26.11: SUPERVISE(ahmad, bob), SUPERVISE(franklin, gwen) First modify
Question:
Add the following facts to the sample database in Figure 26.11:
SUPERVISE(ahmad, bob), SUPERVISE(franklin, gwen)
First modify the supervisory tree in Figure 26.11(b) to reflect this change. Then construct a diagram showing the top-down evaluation of the query SUPERIOR(james, Y) using rules 1 and 2 from Figure 26.12.
Figure 26.11
Figure 26.11(b)
Figure 26.12
Transcribed Image Text:
(a) (b) Facts SUPERVISE (franklin, john). SUPERVISE (franklin, ramesh). SUPERVISE(franklin, joyce). SUPERVISE (jennifer, alicia). SUPERVISE jennifer, ahmad). SUPERVISE (james, franklin). SUPERVISE (james, jennifer). Rules SUPERIOR(X, Y): SUPERVISE(X, Y). SUPERIOR(X, Y): SUPERVISE(X, Z), SUPERIOR(Z, Y). SUBORDINATE(X, Y):- SUPERIOR(Y, X). Queries SUPERIOR(james, Y)? SUPERIOR (james, joyce)? james franklin john ramesh joyce jennifer ahmad alicia Figure 26.11 (a) Prolog notation. (b) The supervisory tree.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 78% (14 reviews)
Modified supervisory tree in Figure 2611b dia...View the full answer
Answered By
Muhammad Umair
I have done job as Embedded System Engineer for just four months but after it i have decided to open my own lab and to work on projects that i can launch my own product in market. I work on different softwares like Proteus, Mikroc to program Embedded Systems. My basic work is on Embedded Systems. I have skills in Autocad, Proteus, C++, C programming and i love to share these skills to other to enhance my knowledge too.
3.50+
1+ Reviews
10+ Question Solved
Related Book For
Fundamentals Of Database Systems
ISBN: 9780133970777
7th Edition
Authors: Ramez Elmasri, Shamkant Navathe
Question Posted:
Students also viewed these Computer science questions
-
A manager is contemplating using Rules 1 and 4 for determining out-of-control conditions. Suppose that the manager constructs 3 limits. (a) What is the overall type I error probability assuming...
-
Use the following facts to construct a coherent paragraph with a topic sentence and appropriate transitional expressions in the supporting sentences. Nearly all teams experience conflict. They...
-
Use the following facts to answer the proceeding questions On April 1, 2021, Beerbo lends money to a Hop-Flop farm, a supplier of whole and pellet hops. The money is to assist Hop-Flop in expanding...
-
1. If net profit is $47,025; depreciation is $2,200; accounts receivable increases $5,056; accounts payable increases $4,673; and inventory declines $850; what is the operating cash flow for the...
-
A researcher recorded the rate at which a cricket chirps for various temperatures. A random selection of the data is shown in Table 13. Let R be the chirp rate (number of chirps per 13 seconds) when...
-
The accompanying table indicates the U.S. domestic demand schedule and domestic supply schedule for commercial jet airplanes. Suppose that the world price of a commercial jet airplane is $100...
-
Use the PewKids dataset to build a set of nested models that investigate the following possibilities. Perhaps kids who perceive that others engage in anti-cyberbullying behavior will engage in more...
-
a. For each of the four columns of the table, classify the data as either qualitative or quantitative; if quantitative, further classify it as discrete or continuous. Also identify the variable under...
-
Stockholders' equity: 7 1/2% cumulative preferred stock, $100 par value, 100,000 shares authorized Common stock, $2 par value, 900,000 shares authorized Additional paid-in capital: common stock...
-
If an electron moves from one point at a potential of 100.0 V to another point at a potential of + 100.0 V, how much work is done by the electric field?
-
What algorithms are popular in ranking or determining the importance of Web pages? Which algorithm was proposed by the founders of Google?
-
How do question answering systems work?
-
It is 1986, and Boston Beer is beginning its growth after hiring Pittsburgh Brewery to produce its beer. Jim Koch has charged you with coordinating the efforts at Pittsburgh Brewery, paying...
-
f. The coordinates of two points A and B are (1, 2) and (5,7) respectively. Find the equation and slope of the line AB. g. Find the rate of change of the area of a circle w.r.t its radius r when r =...
-
1. Sketch the anticipated pattern of cracks on the beam structure shown below. Assume that the structure is adequately reinforced for the load shown, and that the loads are large enough to cause...
-
Estimate the hydrogen consumption required to completely remove the sulfur from a hydrotreater feedstock and to reduce the nitrogen content of the product to 15 ppm by weight. The 48.5 API naphtha...
-
2. Consider the following kinds of information, and suggest the most appropriate data type to store or represent each: Information Suggested Data Type String A person's name A person's age in years A...
-
Steam at 32 MPa, 520C enters the first stage of a supercritical reheat cycle including three turbine stages. Steam exiting the first-stage turbine at pressure p is reheated at constant pressure to...
-
On March 1, 2016, Eve and Frank each contributed $30,000 cash to the newly formed EF Partnership in exchange for a 50 percent general interest. The partnership immediately borrowed $50,000 from an...
-
Use the information given about the angles and to find the exact value of: (a) sin( + ) (b) cos( + ) (c) sin( - ) (d) tan ( + ) (e) sin(2) (f) cos (2) (g) sin /2 (h) cos/2 cos = 4/5, 0 < < /2; cos =...
-
Show the original (unabbreviated) form of the following IPv6 addresses: a. : : 2 b. 0 : 23 : : 0 c. 0 : A : : 3
-
What is the purpose of including the IP header and the first 8 bytes of datagram data in the error-reporting ICMP messages?
-
What is the corresponding block or subblock associated with each of the following IPv6 addresses, based on Table 22.1 : a. FE80 : : 12/10 b. FD23 : : /7 c. 32 : : /3 Figure 22.1 Global unicast...
-
This is a partial adjusted trial batance of Cullumber Compary manualys
-
Which of the following journal entries will record the payment of a $1,500 salaries payable originally incurred for Salaries Expense? Select one: A. Debit Salaries Expense; credit Salaries Payable B....
-
What is the definition of substantially appreciated inventory? A. Inventory with a FMV greater than its basis B. Inventory and unrealized receivables with a FMV greater than their basis C. Inventory...
Study smarter with the SolutionInn App