Data Models-Draft 1
Data Models-Draft 1
Monday,
November
9, 2020
2 |
1
11/9/2020
Enterprise Architectures
Enterprise Architectures
Monday,
November
9, 2020
4 |
2
11/9/2020
Enterprise Architectures
Monday,
November
9, 2020
5 |
Enterprise Architectures
Monday,
November
9, 2020
6 |
3
11/9/2020
Rationale for EA
Monday,
November
9, 2020
7 |
Sales Example
Monday,
November
9, 2020
8 |
4
11/9/2020
Rationale for EA
Monday,
November
9, 2020
9 |
Monday,
November
9, 2020
10 |
5
11/9/2020
• EA Frameworks
• Given the breadth of information covered by an Enterprise
Architecture Model, it is sensible to have a formal way of
categorizing the information it represents – i.e. a framework.
• The best known architecture framework was devised by John
Zachman, and defines a set of views on the enterprise.
• These views are designed to serve the needs of various
stakeholders – e.g. business process models, logical data models,
etc.
• Since Zachman, there have been a plethora of frameworks,
emanating from national governments, IT consortia and businesses.
Most owe their existence to Zachman though.
• The table below summarizes the Zachman Framework:
Monday,
November
9, 2020
11 |
Zachman Framework
Monday,
November
9, 2020
12 |
6
11/9/2020
Zachman Framework
Monday,
November
9, 2020
13 |
Data Models
Monday,
November
9, 2020
14 |
7
11/9/2020
Monday,
November
9, 2020
15 |
• The object based and record based data models are used to
describe data at a conceptual and external levels, the physical
data model is used to describe data at an internal level (actual
implementation).
Monday,
November
9, 2020
16 |
8
11/9/2020
• Entity-Relationship
• Object Oriented
• Semantic
• Functional
Monday,
November
9, 2020
17 |
Monday,
November
9, 2020
18 |
9
11/9/2020
Monday,
November
9, 2020
19 |
Monday,
November
9, 2020
20 |
10
11/9/2020
Monday,
November
9, 2020
21 |
Monday,
November
9, 2020
22 |
11
11/9/2020
Monday,
November
9, 2020
23 |
Monday,
November
9, 2020
24 |
12
11/9/2020
Monday,
November
9, 2020
25 |
Monday,
November
9, 2020
26 |
13
11/9/2020
• The three most widely accepted record based data models are:
1. Hierarchical Model
2. Network Model
3. Relational Model
• The relational model has gained favor over the other two in recent
years. The network and hierarchical models are still used in a
large number of older databases.
Monday,
November
9, 2020
27 |
Hierarchical Model
Monday,
November
9, 2020
28 |
14
11/9/2020
Network Model
Monday,
November
9, 2020
29 |
Relational Model
Monday,
November
9, 2020
30 |
15
11/9/2020
Business Rules
16
11/9/2020
17
11/9/2020
• Constraints
• Every enterprise constrains behavior in some way, and this is
closely related to constraints on what data may or may not be
updated.
• To prevent a record from being made is, in many cases, to prevent
an action from taking place.
• The manager of a department must belong to that department.
• An employee cannot earn more than her manager.
• A department of the Nairobi office can only be managed by an
employee who has ≥ 10yrs experience.
• An employee can only participate in projects associated with her
department.
18
11/9/2020
• Derivations
• Business rules (including laws of nature) define how knowledge in
one form may be transformed into other knowledge, possibly in a
different form.
• Examples
• The budget of a project is the sum of all salaries of participating
employees, multiplied by 3.
• The total of the invoice is the sum of the quantity ordered
multiplied by the price of the items.
19
11/9/2020
Building Blocks
• Natural Language
• use unrestricted natural language...but such descriptions can be
highly ambiguous;
• Structured English
• use a subset of a natural language (both syntactically and
vocabulary-wise) to minimize ambiguities.
• Decision Tables
• use table representation of alternative outcomes (similar to truth
tables)
• Decision Trees
• use tree representation of alternative outcomes
20
11/9/2020
Natural Language
• The Expiry Date of the Driver's License is later than the Inspection Date.
Structure English
21
11/9/2020
Example
Another Example
22
11/9/2020
Decision Tables
Decision Tables
23
11/9/2020
Decision Tables
Decision Trees
24
11/9/2020
Decision Trees
Clarifications
25
11/9/2020
Decision Trees
• http://en.wikipedia.org/wiki/Business_rule
• http://www.brcommunity.com/b290.php
• http://www.businessrulesgroup.org/first_paper/br01c1.htm#s1e
• http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/ind
ex.jsp?topic=/com.ibm.wbit.help.br.ui.doc/topics/cundbus.html
• http://knut.hinkelmann.ch/lectures/KE2011/KE-2-Rules.pdf
• http://www.inf.ufrgs.br/er2009/res/keynotes/ER2009-
KeynotePres-Mylopoulos.pdf
26
11/9/2020
• http://home.iitj.ac.in/~ramana/ch3-ER-diagrams.pdf
27