13. Ologs
TypeType
aspectaspect
Type
A mobile noa name
has
a person
A date of
birth
hashas
(valid aspect) (valid aspect) (invalid aspect)
Because there maybe be 0 or
multiple no’s per person, and no’s
can change too.
14. Graphs
f
A Graph G := (V, A, src, tgt)
v
u
w
g
V
u
v
w
A src tgt
f u v
g u w
V - A set of vertices
tgt - target function
A - A set of Arrows
src - source function
15. Database Schema
Name
Person
Date of
Birth
Employee
Mobile No
Manager
Vertices are tables
Arrows are foreign keys
All tables will have an
id column
Manager
is a graph with rules
Department
Rule 1 : Employees and their manager must be in the same department