Question

In: Computer Science

Very carefully read the following data requirements for a prospective document translation database: i. Document translation...

  1. Very carefully read the following data requirements for a prospective document translation database:

i. Document translation initially relies on a source document. The source document is a text provided in the originally recorded, valid language (see below, and assume only one language for the original document), and has an associated author and publication date. Source document authors are not related to translators in any manner.

ii. Translation of a document also relies on a translator, who is capable of translating documents from one language to another. A translator may be uniquely identified by a numeric international translation association (ITA) number (ITAN). A translator must also be fluent in one or more languages*, and may serve on an ITA committee for up to one (but no more than one) particular language.

iii. The document translation database also requires potential languages to be specified. In addition to the ITA committee outlined in ii., each language is associated with a single ITA committee chair.

iv. A translation is associated with a source document, a language (the one to which it has been translated), and a translator. In addition, it is associated with a translation date, and a certification status (Y or N). Multiple translators can create translations of any given document into a given language, and a single translator can create translations of a given document into multiple languages. Assume, however, that any given translator can only translate a given document into a single language once and only once.

  1. Create an entity-relationship diagram to model the document translation database. While it’s ultimately up to you to select appropriate entities and relationships, the italicized words should give you a good starting point for the major ones. Note that there are at least two ways to interpret and depict requirement iv. within the database, and both are entirely acceptable. Be certain to include cardinality and participation concerns within your diagram, and document the attributes/keys involved (be it within the ER diagram or in a separate UML diagram, etc.) (30 pts)
  2. Follow the protocol we discussed in class to map this ER diagram into a relational database schema. (20 pts)

Solutions

Expert Solution

a. Please follow the below steps to create ERD for the given data requirements in document translation database:

Step 1: Find Entities:

SourceDocument

Language

Author

Translator

Translation: A weak entity based on a document and a translator.

Step 2: Add attributes in the entities:

SourceDocument(document_id, language, author, publish_date)

Translator(ITAN, Name)

ITACommettiee(commettiee_no, name)

Language(id, name)

Translation(sdocument_id, translator_ITAN, isCertified)

Step 3: List relationship among the entities:

SourceDocument has one language, whereas many document can have same language. It is a Many to one relationship.

Translator may be fluent in one or many langugaes, similarly one language may have many translator. This is a many to many relationship with full participation from both sides.

Translator serve on one ITACommettiee but one ITACommettiee can have many translator.It is a Many to one relationship.

ITACommettiee associated with one language; similary a language is associated with one ITACommettiee.It is a One to One relationship.

Translator is associated with one source document, one language and one translator

Step 4: Create ERD:

**********

b. Converting ERD to relational data model:

Please follow below steps to convert ERD to relational model:

Step 1: Create table for entities:

The database will have below tables initially with primary key highlighted and foreign key having * with attribute name:

1. SourceDocument(document_id, language, author, publish_date)

2. Translator(ITAN, Name)

3. ITACommettiee(committee _no, name)

4. Language(language_id, name)

5. Translation(*sdocument_id,* translator_ITAN, isCertified)

Step 2: Solve relationships by adding references to other tables:

· Source Document to language:

Document will have a reference to its original language as below:

SourceDocument(document_id, language, author, publish_date, *language_id)

· ITA_ committee to Language

It’s a one to one relationship, let’s add the reference in committee relation as below:

ITACommettiee(committee _no, name, *language)

· Translator to Language

As it is a Many to many relationship, let’s create new relation as below:

TranslatorLanguages(*ITAN,* language_id)

· Translator to ITA_Committee

Translator can serve in one committee, let’s add committee to its translator:

Translator(ITAN, Name, *committee _no)

· Translation to language, document, translator:

A translation will have one document, one translator and one language. Let’s store it in translation:

Translation(*sdocument_id,* translator_ITAN, language, isCertified): as one translator can translate a document only once

Step 3: Final tables:

1. SourceDocument(document_id, language, author, publish_date, *language_id)

2. Translator(ITAN, Name, *committee _no)

3. TranslatorLanguages(*ITAN,* language_id)

4. Language(language_id, name)

5. ITACommettiee(committee _no, name, *language)

6. Translation(*sdocument_id,* translator_ITAN, language, isCertified)


Related Solutions

Your project MUST do exactly what I am asking for. Read very carefully. I will take...
Your project MUST do exactly what I am asking for. Read very carefully. I will take point off. Show the output that I ask for in the text file and upload the file. When I run your project, if it does not match the given out put you get Zero. In addition, any two project that copies from each other get zero credit and report to the SMC disciplinary department. Advanced Java Programming Polymorphism, Class Design, Inheritance Assignment: You are...
The Common Requirements Of All Questions Are The Same. Read Each Question Carefully And Submit ......
The Common Requirements Of All Questions Are The Same. Read Each Question Carefully And Submit ... Question: The common requirements of all questions are the same. Read each question carefully and submit a ... The common requirements of all questions are the same. Read each question carefully and submit a query to fulfill for each question. Also, students need to submit the result of the corresponding query under the query. The query result should be copied and pasted as it...
READ THE FOLLOWING CAREFULLY TO GET FULL VALUE FROM THE PRACTICE. IF NOT COMFORTABLE WITH CLASSES,I...
READ THE FOLLOWING CAREFULLY TO GET FULL VALUE FROM THE PRACTICE. IF NOT COMFORTABLE WITH CLASSES,I WOULD START WITH DEFINING THE CLASS WITH ONE constructor AND GO FROM THEREUse the following to calculate a GPA (the following is for calculation information only):A = 4.00 grade points per credit hourA- = 3.70 grade points per credit hourB+ = 3.33 grade points per credit hourB = 3.00 grade points per credit hourB- = 2.70 grade points per credit hourC+ = 2.30 grade...
I am posting this for the third time. PLEASE READ EVERYTHING CAREFULLY AND THEN ANSWER I...
I am posting this for the third time. PLEASE READ EVERYTHING CAREFULLY AND THEN ANSWER I am m designing a questionnaire for the topic: FACTORS INFLUENCING CONSUMER BUYING BEHAVIOR IN PURCHASE OF MILK IN ORGANIZED AND UNORGANIZED SECTOR. the study is basically to study the factors that influence consumer decisions in purchase of milk in organized and unorganized sector of milk. For this i need variables that influence purchase of milk in organized and unorganized sector. \ Note: I need...
I am posting this for the third time. PLEASE READ EVERYTHING CAREFULLY AND THEN ANSWER I...
I am posting this for the third time. PLEASE READ EVERYTHING CAREFULLY AND THEN ANSWER I am m designing a questionnaire for the topic: FACTORS INFLUENCING CONSUMER BUYING BEHAVIOR IN PURCHASE OF MILK IN ORGANIZED AND UNORGANIZED SECTOR. the study is basically to study the factors that influence consumer decisions in purchase of milk in organized and unorganized sector of milk. For this i need variables that influence purchase of milk in organized and unorganized sector. Note: I need just...
Carefully read the following table showing the production data for cars and bicycles: Possibility Cars (hundreds)...
Carefully read the following table showing the production data for cars and bicycles: Possibility Cars (hundreds) Bicycles (hundreds) A 15 0 B 11 5 C 8 7 D 5 9 E 0 11 A. Determine the opportunity cost of additional production at different outputs. you can just list it as possibilities A,B, C, D, and E B. Determine which particular combination(s) is most efficient. C. Identify a combination that is inefficient (Free Lunch). D. What are the components of an...
Database Management Systems for Business Name the data model that is only used to document a...
Database Management Systems for Business Name the data model that is only used to document a database design. 6.         State the most important characteristics regarding the output of any relational algebra operation. Name the software system that permits the data in a distributed database to be transparent to users. Use two words to distinguish a file based systems and a database. 9.        Name the level to represent an organization view in the three-level ANSI-SPARK architecture. 10.       Name the terminology of...
Consider carefully each of these data elements and identify the source document where the information would...
Consider carefully each of these data elements and identify the source document where the information would be abstracted from: 1. Stage of a neoplasm removed during surgery - 2. Whether the patient was transported by an ambulance - 3. The time of death of a patient - 4. If the patient has recently traveled - 5. The estimated amount of blood loss- 6. The surgeon's name performing a surgery - 7. The discharge disposition (where the patient was discharged to)...
PLEASE READ VERY CAREFULLY write a client.py and server.py file for tic-tac-toe IN PYTHON with the...
PLEASE READ VERY CAREFULLY write a client.py and server.py file for tic-tac-toe IN PYTHON with the following restrictions (SO WRITE TWO FILES THAT PLAY PYTHON THROUGH A SOCKET) Use a 5 x 5 grid (dimensions are subject to change, so use constants for NUM_ROWS and NUM_COLS) Use 'X' for player 1 and 'O' for player 2 (symbols and the number of players is subject to change, so use constants) Each player can make 1 move per turn before having to...
Read the following document to answer the question: (use the document to support your idea as...
Read the following document to answer the question: (use the document to support your idea as a reference since I'm using the answer to complete my paper, please) How working both 8 hour and 12 hour nursing shift impact the negligence and malpractice at work if you are working as a nurse? Negligence and malpractice There are two types of torts: an unintentional tort (or wrong) and an intentional tort. An unintentional tort is an unintended wrong against another person....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT