Weak and Strong Entity Set The entity set that doesn’t have sufficient attribute to form a primary key and relies on another for its identification is called a weak entity set. On the other hand, an entity that has a primary key is called a strong entity set. It is the one that exists its own, independent of other entities. For example:- Employee’s can purchase policies to cover their Dependent’s so we need to record information about policies i.e. who is covered and who owns the policy. The Employees and Dependent entity set contain the following attribute EMPLOYEES EMP_ID, NAME, B_DATE, ADDRESS, SALARY DEPENDENTNAME, GENDER, B_DATE, RELATIONSHIP Each Employees entity is distinct as each has a unique EMP_ID. But the dependent of “two distinct” employee may have by chance the same value for their attributes i.e. NAME, GENDER, B_DATE, and RELATIONSHIP .They are distinguished only after determining to which particular employees they belong. EMP_ID NAME B_DATE ADDRESS 202 ABHI 8-AUG-78 28-RANI KA BAGH 303 ATUL 15-JAN-82 24-PAL ROAD 404 ANIL 23-MAR-81 335 MODEL TOWN 505 ATUL 11-JAN-75 25 MAHAVEER AV Tabular representation of Employee (Strong Entity Set) primary key EMP_ID NAME GENDER B_DATE RAMAN M 9-AUG-01 SANJANA F 7-SEP-85 ANSHU M 6-JAN-58 SANJANA F 7-SEP-85 Tabular representation of DEPENDENT (Weak entity set)

SALARY 42000 20000 60000 80000

RELATIONSHIP SON BROTHER FATHER SON GENDER B_DATE

NAME

ADDRESS

EMP_ID

RELATIONSHIP B_DATE

NAME

CITY

1 EMPLOYEE

N HAS

DEPENDENT

In the example of EMPLOYEE and DEPENDENT, the Dependent of is the identifying relationship for dependent entity. The relationship is shown as double outlined diamond. The double lines are also used to connect weal entity set which mean every dependent entity set must be related via dependent of relationship to the employee entity set. It indicates that each employees exits for a single dependent. The discriminator i.e. name of weak entity set is shown by underlined dashed line rather than solid lines. WEAK ENTITY SET It does not have sufficient attribute to form a primary key The member of weak entity set is called subordinated entity It contain a partial key or discriminator which is represented by a dashed underline It is represented by a double rectangle The primary key of a weak entity set is a combination of partial key and primary key of the strong entity set The line connecting it and the identifying relationship is double line

STRONG ENTITY SET It always have an attribute to form a primary key. The member of strong entity set is called dominant entity set It contain a primary key.It is represented bu solid underline It is represented by single rectangle The primary key is chosen from one of its attribute which is uniquely identifies its member The line connecting it and the identifying relationship is single arrow line

Extended E-R Features   

Specialization Generalization Aggregation

Specialization Specialization is the process of defining one or more subclass entity set from super class entity set based on some unique attribute specific to the subclass entity set. For example Consider the EMPLOYEE super class entity set which is divided into SECRETARY, ENGINEER and MANAGER subclass entity sets..These subclass entity set may include some common attribute which are the part of EMPLOsYEE entity set like Name, DOB, Address, EMP_ID etc. But some attributes may be unique to each subclass for example Typing_speed attribute in secretary.Eng_type attribute in engineer and cabin no for manager.These attribute known as Specific attribute or Local attributes of a subclass entity set. In term of EER diagram the specialization is represented by a triangular component labeled “IS A“ and the label IS A stand for is a

Emp_ID NAME DOB

ADDRESS EMPLOYEE

TYPING_SPEED

CABIN NO

IS A

ENG_TYPE

SECRETARY

MANAGER

MANAGES

ENGINEER

PROPERTIES OF SPECIALIZATION    

Specialization exists only when there exists specific or unique attributes of the subclass entity set. If there is no unique attribute of subclass entity set then there is no need of specialization. Specialization is needed when some relationship types may be participated only by the entity set which are member of that attributes. It is top down process. It maximizes the difference between the entity sets by identifying unique attribute of each subclass.

Generalization Generalization is the reverse of specialization. There may exist a number of lower level entity sets that share the same attribute and participate in the same relationship sets. So we generalize these low level entity sets into higher level entity set based on these common attributes and relationships. In other words generalization is the process of defining a single higher level entity set from a set of specialized low level entity set or identification of generalized super class entity set from original subclass entity set. For example MANAGER,ENGINEER AND SECRETARY are represented as distinct low level entity set.on applying the generalization process on these entity sets ,we will try to find out the common attribute

PROJECT

and relationship among those entities. Using these common attributes a generalized superclass entity set is made i.e. Employee.

EMP_ID

EMP_ID

NAME

NAME

ENG TYPE

CABIN NO

DOB

DOB

ADDRESS

ADDRESS ENGINEER

MANAGER

EMP_ID NAME TYPING SPEED

DOB ADDRESS SECRETARY

Emp_ID NAME DOB

ADDRESS EMPLOYEE

TYPING_SPEED

CABIN NO

IS A

ENG_TYPE

SECRETARY

ENGINEER

MANAGER

PROPERTIES OF GENERALIZATION    

Generalization exists only when the distinct low level entity sets have some common attributes and same relationship type. It is bottom up approach. It minimizes the differences between the low level entity sets by creating a single high level entity set using common attributes. Shared attributes are not repeated.

AGGRAGATION One of the main limitation of the ER model is that it cannot express relationship among relationship. So to represent these relationship among relationship we combine the entity sets and their relationship to form a higher level entity set.This process of combining entity sets and their relationship to form a higher level entity set so as to represent relationship among relationship is called aggregation. The higher level entity set is treated as a single entity set like other.

university

interview

applicant

university

interview

applicant

Result in Result in

Job offer Job offer

Ternary Relationship (incorrect Representation of ER Diagram)

Ternary Relationship(after aggregation correct Representation of ER Diagram)

PROPERTIES OF AGGREGATION   

Transitive It implies that if A is a part of B and B is a part Of C then A is part of C. Anti Symmetric It implies that if A is Part of B then B is not par of A. In EER diagram the aggragation is represented by a small diamond.

weak entity_strong entity.pdf

belong. EMP_ID NAME B_DATE ADDRESS SALARY. 202 ABHI 8-AUG-78 28-RANI KA BAGH 42000. 303 ATUL 15-JAN-82 24-PAL ROAD 20000. 404 ANIL 23-MAR-81 335 MODEL TOWN 60000. 505 ATUL 11-JAN-75 25 MAHAVEER AV 80000. Tabular representation of Employee (Strong Entity Set) primary key EMP_ID.

601KB Sizes 1 Downloads 229 Views

Recommend Documents

1Q15 weak
Figure 1: OSIM—Geographical revenue growth. (S$ mn). 1Q14 2Q14 3Q14 4Q14 1Q15 QoQ% YoY%. North Asia. 91. 101. 80. 95. 78 -17.9 -14.3. South Asia. 73.

Offshore looking weak
Apr 16, 2015 - Downside: 4.4%. 16 Apr price (SGD): 9.440. Royston Tan. (65) 6321 3086 [email protected]. Forecast revisions (%). Year to 31 Dec. 15E. 16E .... 360. 100%. 339. 100%. 6%. Source: Company. ▫ Keppel: Operating margin trend for

The Strength of Weak Learnability - Springer Link
some fixed but unknown and arbitrary distribution D. The oracle returns the ... access to oracle EX, runs in time polynomial in n,s, 1/e and 1/6, and outputs an ...

Learning from weak representations using ... - Semantic Scholar
how to define a good optimization argument, and the problem, like clustering, is an ... function space F · G. This search is often intractable, leading to high .... Linear projections- Learning a linear projection A is equivalent to learning a low r

1QFY15 preview: Weak Optus
Aug 12, 2014 - If you are interested in subscribing to the 'Stock Selection Tools', please contact your CIMB account manager. IMPORTANT .... Down yoy due to 15% depreciation in IDR; Earnings in local currency up 3.3%. Globe. 57. 48. 18.5. 44. 29.3. H

SUPPLEMENTARY MATERIAL FOR “WEAK MONOTONICITY ...
This representation is convenient for domains with complete orders. 1 ... v = (0,v2,0), v2 > 0, would want to deviate and misreport their type so as to get 3.

Learning from weak representations using ... - Semantic Scholar
was one of the best in my life, and their friendship has a lot to do with that. ...... inherent structure of the data can be more easily unravelled (see illustrations in ...

Weak and strong reflexives in Dutch - CiteSeerX
by stipulating two overlapping binding domains. I want to argue, however, that syntactic approaches are on the wrong track, and that semantic and pragmatic ...

HAMILTONIAN PDE'S AND WEAK TURBULENCE ...
The mathematical tools are basic ones, essentially Fourier series and ODE's. References. [1] Bourgain, J. ... E-mail address: [email protected]. 1.

Dynamic Excursions on Weak Islands
will first present a representative sample of data which exemplifies the phenomenon ..... in the room. “There are only three chairs (and nothing else) in the room”.

Supersymmetric electro-weak effects on
m,/Mw sin c~, and so g2 w ,~ mu 2, i.e. ga w and g2 fv areof the comparable size. ..... for an array of sneutrino masses (from 11 GeV to. 91 GeV) and for A = 3 - x/3 ...

The Strength of Weak Learnability - Springer Link
high probability, the hypothesis must be correct for all but an arbitrarily small ... be able to achieve arbitrarily high accuracy; a weak learning algorithm need only ...

SUPPLEMENTARY MATERIAL FOR “WEAK MONOTONICITY ...
This representation is convenient for domains with complete orders. 1 .... check dominant-strategy implementability of many classical social choice rules. In.

HAMILTONIAN PDE'S AND WEAK TURBULENCE ...
The mathematical tools are basic ones, essentially Fourier series and ODE's. FDP/MAPMO-UMR 7349, ... E-mail address: [email protected]. 1.

Weak Monotonicity characterizes deterministic dominant strategy ...
equivalent to the “cyclic monotonicity” condition in Rochet (1987), which is ... ful in applications such as finding a revenue-maximizing auction in the class of de-.

Weak Negations and Neighborhood Semantics
chaining these equalities together gets us what we want. Corollary 3.7. If a consecution A ⊣ B is invalid in a logic L, then any neigh- borhood model canonical for ...

Unobstructedness of deformations of weak Fano ...
(log ∆n) be the de Rham complex of Zn/An with logarithmic ..... functors. We have forgetful morphisms of functors FT : Def(T,E) → DefT and FS : Def(S,p) → DefS.

Mumford-Shah Meets Stereo: Integration of Weak ...
ational methods have successfully been applied to both im- age segmentation and computational stereo. In this paper we propose a combination in a unified ...

On Mapping Multidimensional Weak Tori on Optical ...
system. Specifically, our results are for mapping weak multidimensional tori ..... Using MDM only on the "top plane" of the slab provides room for demultiplexing.

Weak Epsilon-Nets, Davenport–Schinzel Sequences ...
sity), and we have continued working together since then via the Internet. I hope we ...... and let us call every integer vector t = (t1,t2,...,td) with ti ≥ 1 for all i and.

Market Liquidity and Ownership Structure with weak ...
Mar 1, 2009 - bid-ask spread, therefore both the call and the put options are out of the money from his ... market liquidity using an index of 24 governance attributes related to ... BOVESPA is currently the only stock trading center in Brazil and th

On the Validity of Econometric Techniques with Weak ...
However,. Luiz Cruz is a Ph.D. student of economics at the University of California at Berkeley. .... confidence intervals have coverage probability much smaller than the commonly ...... Journal of Business and Economic Statistics 13:225–35.