Chapter Four – Data Modeling and the Entity-Relationship Model
Page 38 of 52
C. Describe how you would go about validating the model in part B.
This model assumes single owners of a property and that an owner may have multiple
properties. SUB-PROPERTY is an ID-dependent weak entity in relation to PROPERTY. We
assume only one employee performs a service, but that many services can be done by an
employee. For accounting purposes, a SERVICE pertains to only one SUB-PROPERTY. We also
assume that a TRAINING_COURSE pertains to one kind of EQUIPMENT, but that the EQUIPMENT
is discussed in many training courses. EQUIPMENT_REPAIR is modeled as a weak entity, but one
could argue that it ought not to be. We model it as weak because how can you repair
something that doesn’t exist? But such repairs typically do have a good identifier, something
like RepairInvoiceNumber, which may make users think of them as strong entities.
Validation of all cardinality assumptions should be done with the users. In this case, we could
try to teach them enough E-R to understand this diagram. If that turns out not to be possible,
we would build a prototype of two or three relationships and verify those. Then, try again to
teach the users enough E-R to validate the rest. If that’s not successful, then a full prototype
would be built and demonstrated, or PowerPoint slides of screen shots of the prototype could
be used.
ANSWERS TO JAMES RIVER JEWELRY PROJECT QUESTIONS
[NOTE: The James River Jewelry Project Questions are available online for Appendix D,
which can be downloaded from the textbook’s Web site:
www.pearsonhighered.com/kroenke. The solutions for these questions will be included
in the Instructor’s Manual for each chapter]
James River Jewelry wants to expand its database applications beyond the recording of
purchases and purchase awards. (See the description of the award program in the
James River Jewelry Project Questions for Chapter 1 that is online in Appendix D.) The
company still wants to maintain data on customers, purchases, and awards, but it wants
to include other data as well. Specifically, James River Jewelry wants to record artists
and styles and keep track of which customers are interested in which artists and styles.
James River Jewelry sells most of its jewelry on consignment, so the company does not
pay the artist for a piece of jewelry until it is sold. Typically, the company pays artists 60
percent of the sales price, but the terms are negotiated separately for each item. For
some items, the artists earn a larger percentage and for others they earn less. Artists
and James River Jewelry personnel agree on the initial sales price at the time the item is
brought to the shop. When an item has been in the shop for some time, James River
Jewelry may reduce the price; sometimes it renegotiates the sales percentage.
A. Draw an E-R data model for the James River Jewelry database schema shown in the
James River Jewelry Project Questions for Chapter 3 in this Appendix. Use the IE
Crow’s Foot E-R model for your E-R diagrams. Justify the decisions you make regarding
minimum and maximum cardinality.