Conceptual Modeling

Outline

Methodology

  • Input: Specification of the requirements (usually a natural language description of a database domain)
  • Tools: Object Modeling graphical notation
  • Methods: Systematic transformation of individual components of specification of requirements into the components of Object Modeling notation
  • Output: Conceptual schema - simplified object class diagram
In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Methodology

  • The transformations of specifications are performed in the following sequence of steps:
    • Step 1: Creating classes of objects
    • Step 2: Creating associations and association classes
    • Step 3: Creating attributes and link attributes
    • Step 4: Creating identifiers
    • Step 5: Creating qualifications
    • Step 6: Creating generalizations
In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Conceptual Modeling

Outline

Example 1

  • An objective is to create a conceptual schema of a small database that contains information about employees and projects
  • A detailed specification is the following:
    • A group of employees works on the projects
    • Some of employees supervise other employees
    • An employee is described by an employee number and full name
    • A project is described by a project title, completion date and budget
    • Employees are identified by their employee numbers and projects are identified by titles
In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 1

  • Step 1: Creating classes of objects
  • A group of employees works on the projects. Some of employees supervise other employees. An employee is described by an employee number and full name. A project is described by a project title, completion date and budget. Employees are identified by their employee numbers and projects are identified by the titles

      Step 1

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 1

  • Step 2: Creating associations and association classes
  • A group of employees works on the projects. Some of employees supervise other employees. An employee is described by an employee number and full name. A project is described by a project title, completion date and budget. Employees are identified by their employee numbers and projects are identified by the titles

      Step 2

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 1

  • Step 3: Creating attributes and link attributes
  • A group of employees works on the projects. Some of employees supervise other employees. An employee is described by an employee number and full name. A project is described by a project title, completion date and budget. Employees are identified by their employee numbers and projects are identified by the titles

      Step 3

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 1

  • Step 4: Creating identifiers
  • A group of employees works on the projects. Some of employees supervise other employees. An employee is described by an employee number and full name. A project is described by a project title, completion date and budget. Employees are identified by their employee numbers and projects are identified by the titles

      Step 4

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 1

  • Step 5: Creating qualifications
  • A group of employees works on the projects. Some of employees supervise other employees. An employee is described by an employee number and full name. A project is described by a project title, completion date and budget. Employees are identified by their employee numbers and projects are identified by the titles

      Step 5

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 1

  • Step 6: Creating generalizations
  • A group of employees works on the projects. Some of employees supervise other employees. An employee is described by an employee number and full name. A project is described by a project title, completion date and budget. Employees are identified by their employee numbers and projects are identified by the titles

      Step 6

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Conceptual Modeling

Outline

Example 2

  • An objective is to create a conceptual schema of a small database that contains information about publications such as journals and conference proceedings, published research papers and authors
  • A detailed specification is the following:
    • A publishing company publishes the journals and conference proceedings
    • The research papers are included in the journals and proceedings
    • The company employs the general editors who take responsibility for editing the research papers
    • A research paper is written by one or more authors
In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 2

  • Step 1: Creating classes of objects
  • A publishing company publishes the journals and conference proceedings. The research papers are included in the journals and proceedings. The company employs the general editors who take responsibility for editing the research papers. A research paper is written by one or more authors

      Step 1

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 2

  • Step 2: Creating associations and association classes
  • A publishing company publishes the journals and conference proceedings. The research papers are included in the journals and proceedings. The company employs the general editors who take responsibility for editing the research papers. A research paper is written by one or more authors

      Step 2

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 2

  • Step 3: Creating attributes and link attributes
  • A publishing company publishes the journals and conference proceedings. The research papers are included in the journals and proceedings. The company employs the general editors who take responsibility for editing the research papers. A research paper is written by one or more authors

      Step 3

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023
>

Example 2

  • Step 4: Creating identifiers
  • A publishing company publishes the journals and conference proceedings. The research papers are included in the journals and proceedings. The company employs the general editors who take responsibility for editing the research papers. A research paper is written by one or more authors

      Step 3

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 2

  • Step 5: Creating qualifications
  • A publishing company publishes the journals and conference proceedings. The research papers are included in the journals and proceedings. The company employs the general editors who take responsibility for editing the research papers. A research paper is written by one or more authors

      Step 3

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 2

  • Step 6: Creating generalizations
  • A publishing company publishes the journals and conference proceedings. The research papers are included in the journals and proceedings. The company employs the general editors who take responsibility for editing the research papers. A research paper is written by one or more authors
  • Journal, proceedings IS-A publication

      Step 3

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Conceptual Modeling

Outline

Example 3

  • An objective is to create a conceptual schema of a small database that contains information about the construction companies and buildings built by the companies
  • A detailed specification is the following:
    • A group of construction companies is involved in the construction of industrial buildings
    • A building is located at a different address, it has a unique name and completion date
    • A number of construction stages apply to each building
    • A construction stage is described by its name, the names of the construction companies involved together with the start date, completion date and the total costs
    • A construction company is usually involved in many construction stages of the same building
    • Many construction companies are involved in one construction stage
In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 3

  • Step 1: Creating classes of objects
  • A group of construction companies is involved in the construction of industrial buildings. A building is located at a different address, it has a unique name and completion date. A number of construction stages apply to each building. A construction stage is described by its name, the names of the construction companies involved together with the start date, completion date and the total costs. A construction company is usually involved in many construction stages of the same building. Many construction companies are involved in one construction stage

      Step 1

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 3

  • Step 2: Creating associations and association classes
  • A group of construction companies is involved in the construction of industrial buildings. A building is located at a different address, it has a unique name and completion date. A number of construction stages apply to each building. A construction stage is described by its name, the names of the construction companies involved together with the start date, completion date and the total costs. A construction company is usually involved in many construction stages of the same building. Many construction companies are involved in one construction stage

      Step 2

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 3

  • Step 2 (improved): Creating associations and association classes
  • A group of construction companies is involved in the construction of industrial buildings. A building is located at a different address, it has a unique name and completion date. A number of construction stages apply to each building. A construction stage is described by its name, the names of the construction companies involved together with the start date, completion date and the total costs. A construction company is usually involved in many construction stages of the same building. Many construction companies are involved in one construction stage
  • If a company is involved in a construction stage that applies to a building then such company is involved in construction of the building
In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 3

  • Step 2 (improved): Creating associations and association classes
  • It means that we do not need an association Involved-in bettwen the classes COMPANY and BUILDING because such association can be derived from the other two associations

      Step 2 Improved

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 3

  • Step 3: Creating attributes and link attributes
  • A group of construction companies is involved in the construction of industrial buildings. A building is located at a different address, it has a unique name and completion date. A number of construction stages apply to each building. A construction stage is described by its name, the names of the construction companies involved together with the start date, completion date and the total costs. A construction company is usually involved in many construction stages of the same building. Many construction companies are involved in one construction stage
  • Step 3

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 3

  • Step 4: Creating identifiers
  • A group of construction companies is involved in the construction of industrial buildings. A building is located at a different address, it has a unique name and completion date. A number of construction stages apply to each building. A construction stage is described by its name, the names of the construction companies involved together with the start date, completion date and the total costs. A construction company is usually involved in many construction stages of the same building. Many construction companies are involved in one construction stage
  • What we know about the reality is that construction companies have unique names
  • Step 4

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 3

  • Step 5: Creating qualifications
  • A group of construction companies is involved in the construction of industrial buildings. A building is located at a different address, it has a unique name and completion date. A number of construction stages apply to each building. A construction stage is described by its name, the names of the construction companies involved together with the start date, completion date and the total costs. A construction company is usually involved in many construction stages of the same building. Many construction companies are involved in one construction stage
  • What we also know about the reality is that a construction stage of a building starts once at a given moment in time
  • Step 5

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 3

  • Step 6: Creating generalizations
  • A group of construction companies is involved in the construction of industrial buildings. A building is located at a different address, it has a unique name and completion date. A number of construction stages apply to each building. A construction stage is described by its name, the names of the construction companies involved together with the start date, completion date and the total costs. A construction company is usually involved in many construction stages of the same building. Many construction companies are involved in one construction stage
  • Step 6

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Conceptual Modeling

Outline

Example 4

  • An objective is to create a conceptual schema for a database domain described by the following poem for kids
  • "Caterpillar"
  • by Christina Rossetti
    • Brown and furry
    • Caterpillar in a hurry,
    • Take your walk
    • To the shady leaf, or stalk,
    • Or what not,
    • Which may be the chosen spot.
    • No toad spy you,
    • Hovering bird of prey pass by you;
    • Spin and die,
    • To live again a butterfly.

Example 4

  • Step 1: Creating classes of objects
  • Brown and furry Caterpillar in a hurry Take your walk To the shady leaf, or stalk, Or what not, Which may be the chosen spot. No toad spy you, Hovering bird of prey pass by you; Spin and die, To live again a butterfly.
  • Step 2

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 4

  • Step 2: Creating associations and association classes
  • Brown and furry Caterpillar in a hurry Take your walk To the shady leaf, or stalk, Or what not, Which may be the chosen spot. No toad spy you, Hovering bird of prey pass by you; Spin and die, To live again a butterfly.
  • Step 2

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 4

  • Step 3: Creating attributes and link attributes
  • Brown and furry Caterpillar in a hurry Take your walk To the shady leaf, or stalk, Or what not, Which may be the chosen spot. No toad spy you, Hovering bird of prey pass by you; Spin and die, To live again a butterfly.
  • Step 3

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 4

  • Step 4: Creating identifiers
  • Brown and furry Caterpillar in a hurry Take your walk To the shady leaf, or stalk, Or what not, Which may be the chosen spot. No toad spy you, Hovering bird of prey pass by you; Spin and die, To live again a butterfly.
  • Step 4

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 4

  • Step 5: Creating qualifications
  • Brown and furry Caterpillar in a hurry Take your walk To the shady leaf, or stalk, Or what not, Which may be the chosen spot. No toad spy you, Hovering bird of prey pass by you; Spin and die, To live again a butterfly.
  • Step 5

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

Example 4

  • Step 6: Creating generalizations
  • Brown and furry Caterpillar in a hurry Take your walk To the shady leaf, or stalk, Or what not, Which may be the chosen spot. No toad spy you, Hovering bird of prey pass by you; Spin and die, To live again a butterfly.
  • Step 6

In HTML view press 'p' to see the lecture notes
TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023

References

TOP         Created by Janusz R. Getta, CSIT115 Data Management and Security, Autumn 2023