Podcast
Questions and Answers
What is the process of generating value type names from unit-based reference modes?
What is the process of generating value type names from unit-based reference modes?
- Replacing the reference by 'Type'
- Replacing the colon by 'Value' (correct)
- Replacing the unit by 'Fact'
- Replacing the mode by 'Unit'
What is the purpose of populating each fact type on the diagram with some of the original fact instances?
What is the purpose of populating each fact type on the diagram with some of the original fact instances?
- To identify the object types
- To create a knowledge base diagram
- To draw the fact types
- To apply a population check (correct)
What is a table for displaying instances of a fact type called in ORM?
What is a table for displaying instances of a fact type called in ORM?
- Knowledge base diagram
- Fact table (correct)
- Population check table
- Schema diagram
What is a diagram that includes both a schema and a sample database called?
What is a diagram that includes both a schema and a sample database called?
How are object types identified in a fact table when they are simply identified?
How are object types identified in a fact table when they are simply identified?
What is the purpose of Figure 3.11 in the given content?
What is the purpose of Figure 3.11 in the given content?
What is depicted as a solid line in the conceptual schema diagram?
What is depicted as a solid line in the conceptual schema diagram?
How are individual objects portrayed on an instance diagram?
How are individual objects portrayed on an instance diagram?
What is shown as a broken line in the conceptual schema diagram?
What is shown as a broken line in the conceptual schema diagram?
How are roles (relationship parts) played by objects shown on a conceptual schema diagram?
How are roles (relationship parts) played by objects shown on a conceptual schema diagram?
What is the shape of a value type on a conceptual schema diagram?
What is the shape of a value type on a conceptual schema diagram?
What is an entity type depicted as on a conceptual schema diagram?
What is an entity type depicted as on a conceptual schema diagram?
How are individual objects represented on a conceptual schema diagram?
How are individual objects represented on a conceptual schema diagram?
What can optionally be given to roles on a conceptual schema diagram?
What can optionally be given to roles on a conceptual schema diagram?
What is the primary purpose of drawing a conceptual schema diagram in CSDP STEP 2?
What is the primary purpose of drawing a conceptual schema diagram in CSDP STEP 2?
What is the purpose of checking the conceptual schema diagram with a sample population?
What is the purpose of checking the conceptual schema diagram with a sample population?
What does the instance diagram illustrate?
What does the instance diagram illustrate?
What is the purpose of using 'regNr' as an abbreviation?
What is the purpose of using 'regNr' as an abbreviation?
What is the next step in the conceptual schema design procedure after translating information examples into elementary facts?
What is the next step in the conceptual schema design procedure after translating information examples into elementary facts?
What is shown in the conceptual schema diagram?
What is shown in the conceptual schema diagram?
What is the purpose of CSDP STEP 2?
What is the purpose of CSDP STEP 2?
What is represented in the elementary facts using 'regNr'?
What is represented in the elementary facts using 'regNr'?
What is the purpose of a report like Table 3.8?
What is the purpose of a report like Table 3.8?
What is the difference between unary fact types and other fact types?
What is the difference between unary fact types and other fact types?
What is an example of a unary fact type in Table 3.8?
What is an example of a unary fact type in Table 3.8?
What is the main difference between Table 3.8 and the licens plate table?
What is the main difference between Table 3.8 and the licens plate table?
What is the purpose of CSDP step 2?
What is the purpose of CSDP step 2?
What is the meaning of 'Person (firstname) ‘Amie’ smokes'?
What is the meaning of 'Person (firstname) ‘Amie’ smokes'?
What does the licens plate table show?
What does the licens plate table show?
What is the difference between the tables in this content?
What is the difference between the tables in this content?
What is shown by separating the role boxes in Figure 3.12?
What is shown by separating the role boxes in Figure 3.12?
What is the result of transforming the two unaries into a single binary in Figure 3.13?
What is the result of transforming the two unaries into a single binary in Figure 3.13?
What is the characteristic of a homogeneous fact type?
What is the characteristic of a homogeneous fact type?
What is the term used to describe the binary case of a homogeneous fact type?
What is the term used to describe the binary case of a homogeneous fact type?
What is the characteristic of a ring fact type?
What is the characteristic of a ring fact type?
What is shown in Figure 3.13?
What is shown in Figure 3.13?
What is the entity type introduced in Figure 3.13?
What is the entity type introduced in Figure 3.13?
How can the first row of Table 3.8 be rephrased?
How can the first row of Table 3.8 be rephrased?
Flashcards are hidden until you start studying
Study Notes
CSDP Step 2: Draw Fact Types and Populate
- CSDP Step 2 involves drawing a conceptual schema diagram that shows all the fact types, which illustrates the relevant object types, predicates, and reference schemes.
- The diagram is then checked with a sample population.
- Conceptual schema diagrams depict an entity type as a named, solid, soft rectangle (rectangle with rounded corners).
- A value type is shown as a named, broken, soft rectangle.
- Object type names are written inside the rectangle.
Instance Diagrams
- Instance diagrams illustrate particular instances of objects and relationships.
- Cartoon drawings are used to denote the actual people and cars.
- Values are shown as character strings.
- A particular fact or relationship between a person and a car is shown as a solid line.
- A particular reference between a value and an entity is shown as a broken line.
Fact Types and Population
- As a check, each fact type on the diagram is populated with some of the original fact instances.
- A fact table is added for each fact type, and the values are entered in the relevant columns of the table.
- A diagram that includes both a schema and a sample database is called a knowledge base diagram.
Examples
- The example of Table 3.6 shows three elementary facts: • The Person named ‘Adams B’ drives the Car with regNr ‘235PZN’. • The Person named ‘Jones E’ drives the Car with regNr ‘235PZN’. • The Person named ‘Jones E’ drives the Car with regNr ‘108AAQ’.
- Figure 3.8 shows an instance diagram for this example.
- Figure 3.9 shows a conceptual schema diagram for the same example, with inverse readings for the two fact types.
Roles and Value Types
- On a conceptual schema diagram, the roles (relationship parts) played by objects are shown explicitly as boxes.
- Optionally, roles may be given a name, in which case the role name is displayed in square brackets next to the role box.
- Value type names are generated from unit-based reference modes by replacing the colon by “Value” (in English).
Unary and Binary Fact Types
- Table 3.8 shows an example of unary fact types, where each fact is an instance of a different unary fact type.
- The knowledge base diagram is shown in Figure 3.12, where the two roles belong to different fact types.
- The two unaries can be transformed into a single binary by introducing another entity type, such as SmokingStatus.
- The binary version is shown in Figure 3.13.
Ring Fact Type
- A ring fact type has one entity type, where each role in a fact type is played by the same object type.
- The binary case of this is called a ring fact type, since the path from the object type through the predicate loops back to the same object type, forming a ring.
- Figure 3.14 shows an example of a ring fact type with a sample population.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.