CSCI335_Midterm
CSCI335_Midterm
Map the ER (Entity-Relationship) schema below into a relational schema. For each table, specify
the primary keys and the foreign key(s) if any.
Note: Use a solid line to underline a primary key and indicate clearly the foreign key using arrows.
Page 1 of 3
CSCI335 Midterm Fall 2024-2025
Page 2 of 3
CSCI335 Midterm Fall 2024-2025
DBLP is an organization that keeps track researchers and their publications. It has a website
that allows any user to search for publications by their name, by the name of the author, or
by the name of the institution. Draw an ER diagram that keeps track of the following
information:
• Each researcher has a unique ssn, a name, and a specialty. A researcher belongs to one
or more institutions with which he works.
• An institution has a unique name and an address.
• A researcher may write an article in affiliation with one institution. An article can also
be written by multiple researchers, each with his own affiliation.
• An article has a unique title, an abstract, and a date. Each article should be published
in a single journal. Each journal has a unique name, and a ranking.
• A reviewer is a person that reviews some articles, and an article may be reviewed by
multiple reviewers. The system should keep track of who reviewed an article, and
what is his comment on it.
• A reviewer has a unique ssn, a name, and a specialty.
Design a representation of the data in terms of entities, attributes and relationships between entities.
Construct an ERD diagram to depict this representation. Show the cardinalities using (min, max) or
CHEN notation and all necessary information.
Page 3 of 3