You are on page 1of 13

Expert Systems with Applications 41 (2014) 3615–3627

Contents lists available at ScienceDirect

Expert Systems with Applications


journal homepage: www.elsevier.com/locate/eswa

Formal translation from fuzzy EER model to fuzzy XML model


Li Yan a,⇑, Z.M. Ma b
a
School of Software, Northeastern University, Shenyang 110819, China
b
College of Information Science and Engineering, Northeastern University, Shenyang 110819, China

a r t i c l e i n f o a b s t r a c t

Keywords: XML has been the de facto standard of data representation and exchange over the Web. In addition, fuzzy
Data modeling data are inherent in the real-world applications. Although fuzzy information has been extensively inves-
Fuzzy information tigated in the context of relational database model, the classical relational database model and its fuzzy
Conceptual data model extension to date do not satisfy the need of modeling and processing complex objects with imprecision
XML model
and uncertainty on the Web. Based on fuzzy sets, this paper concentrates on fuzzy information modeling
Mapping
in the EER (enhanced entity-relationship or extended entity-relationship) model and the fuzzy XML
model. In particular, the formal approach to mapping the fuzzy EER model to the fuzzy DTD (document
type definition) model is developed.
Ó 2013 Elsevier Ltd. All rights reserved.

1. Introduction satisfaction degree for a film, different individuals may have very
different satisfaction degree. Information fuzziness on the Web
With the prompt development and wide applications of the has been investigated in the context of EC and SCM (Petrovic
Internet, the requirement of managing Web data has attracted et al., 1999; Yager, 2000; Yager and Pasi, 2001). It is shown that
much attention both from academia and industry. XML is widely fuzzy sets are very useful in Web-based business intelligence.
regarded as the next step in the evolution of the World Wide Viewed from data modeling, fuzzy information has been exten-
Web, and has been the de facto standard. Aiming at enhancing sively investigated in the context of relational database model
content on the World Wide Web, XML and related standards are (Buckles and Petry, 1982; Prade and Testemale, 1984; Raju and
flexible and allow the easy development of applications which ex- Majumdar, 1988; Umano and Fukami, 1994). However, the classi-
change data over the Web such as e-commerce (EC) and supply cal relational database model and its fuzzy extension cannot satisfy
chain management (SCM). But this flexibility makes it challenging the need of modeling complex objects with imprecision and uncer-
to develop an XML management system. To manage XML data, it is tainty. The requirements of modeling complex objects and infor-
necessary to integrate XML and databases (Bertino and Catania, mation imprecision and uncertainty can be found in many
2001). Various databases, including relational, object-oriented, application domains (e.g., multimedia applications) and have chal-
and object-relational databases, have been applied for mapping lenged the current database technology (Aygun and Yazici, 2004;
to and from the XML document. In addition, XML lacks sufficient Chamorro-Martínez et al., 2007). To model uncertain data and
power in modeling real-world data and their complex inter- complex-valued attributes as well as complex relationships among
relationships in semantics. So it is necessary to use other methods objects, current efforts have concentrated on the fuzzy object-
to describe data paradigms and develop a true conceptual data oriented databases (Bordogna et al., 1999; Dubois et al., 1991;
model, and then transform this model into an XML encoded for- George et al., 1996; Gyseghem and Caluwe, 1998; Ma et al.,
mat. Conceptual data modeling of XML document schema (Conrad 2004) and the fuzzy conceptual data models (Chen and Kerre,
et al., 2000; Elmasri et al., 2005; Mani et al., 2001; Psaila, 2000; 1998; Galindo et al., 2004; Zvieli and Chen, 1986). In (Zvieli and
Xiao et al., 2001) and XML Schema (Bernauer et al., 2004) have Chen, 1986), fuzzy sets are applied to some of the basic ER (en-
been studied in the recent past. In (Conrad et al., 2000), for exam- tity-relationship) concepts, introducing fuzzy entity sets, fuzzy
ple, UML is used for designing XML DTD (document type defini- relationship sets and fuzzy attribute sets (the first level of fuzzi-
tion). At the same time, some data are inherently imprecise and ness) as well as fuzziness in entity and relationship occurrences
uncertain since their values are subjective in the real-world appli- (the second level of fuzziness) and in attribute values (the third
cations. For example, considering the values which represent the level of fuzziness). Without including graphical representations,
the fuzzy extensions of several major EER (enhanced entity-
⇑ Corresponding author. relationship or extended entity-relationship) concepts (e.g.,
E-mail address: yanl@swc.neu.edu.cn (L. Yan).
superclass/subclass, generalization/specialization, category and

0957-4174/$ - see front matter Ó 2013 Elsevier Ltd. All rights reserved.
http://dx.doi.org/10.1016/j.eswa.2013.12.014
3616 L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627

the subclass with multiple superclasses) are introduced in Chen 2. Fuzzy information modeling in XML and EER models
et al. (1998). In Galindo et al., 2004, the fuzzy EER model is ex-
tended by relaxing some constraints with fuzzy quantifiers. Also The concept of fuzzy sets was originally introduced by Zadeh,
there are efforts to conceptually design the fuzzy databases using (1965). Let U be a universe of discourse and F be a fuzzy set in U.
the fuzzy conceptual data models (Ma, 2005; Ma and Shen, 2006; A membership function lF: U ? [0, 1] is defined for F, where lF
Ma et al., 2001; Yazici et al., 1999; Ma et al., 2012, 2011). More re- (u), for each u 2 U, denotes the membership degree of u in the fuz-
cently, the fuzzy object-relational databases are proposed (Cuevasa zy set F. Thus, the fuzzy set F is described as follows:
et al., 2008) which combine both characters of fuzzy relational dat-
abases and fuzzy object-oriented databases. Ones can refer to (Ma F ¼ fðu1 ; lF ðu1 ÞÞ; ðu2 ; lF ðu2 ÞÞ; . . . ; ðun ; lF ðun ÞÞg
and Yan, 2008, 2010) for recent surveys of these fuzzy data models.
The fuzzy set F is consisted of some elements just like a conven-
Despite fuzzy sets have been applied to model and handle
tional set. But, not being the same as the conventional set, each ele-
imprecise and uncertain information in databases since Zadeh
ment in F may or may not belong to F, having a membership degree
introduced the theory of fuzzy sets (Zadeh, 1965), relative little
to F which needs to be explicitly indicated. So in F, an element (say
work has been carried out in extending XML towards the represen-
ui) is associated with its membership degree (say lF (ui)), and they
tation of imprecise and uncertain concepts. Abiteboul et al.
occur together in form of (ui, lF (ui)). When the membership de-
Abiteboul et al. (2001) provide a model for XML documents and
grees that all elements in F belong to F are exactly 1, the fuzzy set
DTDs and a representation system for XML with incomplete infor-
F reduces to a conventional set.
mation. The representations of probabilistic data in XML are pro-
When the membership degree lF (u) above is explained to be a
posed in other previous research papers such as (Hung et al.,
measure of the possibility that a variable X has the value u, where X
2003; Nierrman and Jagadish, 2002; Senellart and Abiteboul,
takes values in U, a fuzzy value is described by a possibility distri-
2007; Van Keulen et al., 2005). Without presenting XML represen-
bution pX (Zadeh, 1978).
tation model, data fuzziness in XML document is discussed directly
according to the fuzzy relational databases in Gaurav and Alhajj pX ¼ fðu1 ; pX ðu1 ÞÞ; ðu2 ; pX ðu2 ÞÞ; . . . ; ðun ; pX ðun Þg
(2006), and the simple mappings from the fuzzy relational dat-
abases to fuzzy XML document are provided also. In (Oliboni and Here, pX (ui), ui 2 U, denotes the possibility that ui is true. Let pX be
Pozzani, 2008), an XML Schema definition is given for representing the possibility distribution representation for the fuzzy value of a
fuzzy data, which adopts data type classification for the XML data variable X. It means that the value of X is fuzzy, and X may take
context. A fuzzy XML data model based on XML DTD (Document one from some possible values u1, u2, . . ., and un and each one
Type Definition) is proposed in Ma and Yan (2007), in which the (say ui) taken possibly is associated with its possibility degree
mappings of the fuzzy XML DTD from the fuzzy UML data model (say pX (ui)).
and to the fuzzy relational database model are discussed, respec-
tively. In (Yan, 2009), a fuzzy XML data model based on XML 2.1. Fuzzy XML model
Schema is developed. Ones can refer to (Ma and Yan, 2010) for re-
cent research work of soft computing in XML data management. Two kinds of fuzziness can be identified in XML documents (Ma
For the classical XML, conceptual data models are generally ap- and Yan, 2007). The first one is the fuzziness in elements (we use
plied to construct XML model through mapping conceptual data membership degrees associated with such elements) and the sec-
models into XML model because XML lacks sufficient power in ond one is the fuzziness in attribute values of elements (we use
modeling real-world data and their complex inter-relationships fuzzy sets to represent such values). For the latter, there exist
in semantics. Similarly in order to conceptually design the fuzzy two interpretations on it (i.e., disjunctive semantics and conjunc-
XML model, the fuzzy UML data model is applied to formally tive semantics) and they may occur in child elements with or with-
map to the fuzzy XML DTD model in Ma and Yan (2007). It should out further child elements in the ancestor–descendant chain. The
be pointed out that the conceptual data models for the conceptual basic data structure of fuzzy XML data model is the data tree
design of XML model are diverse and different designers may use (Ma et al., 2010).
different conceptual data model. In the context of database model-
ing, for example, in addition to the UML data model, the EER model Definition. Let V be a finite set (of vertices), E 2 V  V be a set (of
is able to capture and represent rich and complex semantics at a edges) and ‘: E ? C be a mapping from edges to a set C of strings
high abstract level and can be used for conceptual design of dat- called labels. The triple G = (V, E,‘) is an edge labeled directed
abases as well as XML. So in order to conceptually design the fuzzy graph.
XML model using different fuzzy conceptual data model, in this pa-
Based on the data tree, we introduce the definition of fuzzy XML
per, we present a full-fledged fuzzy extension to the EER model and
data tree.
the corresponding graphical representations. In particular, we de-
velop the formal approach to mapping the fuzzy EER model to
Definition. Fuzzy XML data tree F is a 6-tuple, F = (V, w, ‘, s, j, d)
the fuzzy XML DTD mode. With the proposed approach, the con-
where
struction of the complex fuzzy XML model can start from the de-
sign of the fuzzy EER model, which is then mapped into the
fuzzy XML model automatically. Note that the fuzzy XML model  V = {V1,. . .,Vn} is a finite set of vertices.
discussed in this paper only focuses on the fuzzy XML DTD. Limited  w  {(Vi, Vj) | Vi, Vj 2 V}, (V, w) is a directed tree.
by the expressive power of XML DTD, the fuzzy XML model  ‘: V ? (L [ {null}), here L is a set of labels. For each object v 2 V
mapped from the fuzzy EER model cannot support a much richer and each label » 2 L, ‘(v, ») specifies the set of objects that may
set of structures, types and constraints for describing fuzzy data. be children of v with label ».
The remainder of this paper is organized as follows. Section 2  s ? T, T is a set of types.
presents fuzzy information modeling in the fuzzy XML model  j is mapping which constrains the number of children with a
and the fuzzy EER model. In Section 3, the formal approach to map- given label. j associates with each object v 2 V and each
ping the fuzzy EER model to the fuzzy XML DTD model is devel- label» 2 L, an integer-valued interval function. j (v, ») = [min, -
oped. A small case study is given in Section 4 to show the max], where min P 0, max P min. We use j to represent the
proposed formal translation. Section 5 concludes this paper. lower and upper bounds.
L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627 3617

d is a mapping from the set of objects v 2 V to local possibility <!ELEMENT Val (#PCDATA)>
functions. It defines the possibility of a set of children of an <!ATTLIST Val Poss CDATA ‘‘1.0’’>
object existing given that the parent object exists.
For the non-leaf element, say nonleafElement, first we change
Definition. Suppose F = (V, w, ‘, s, j, d) and f’ = (V’, w’, ‘’, s’, j’, d’) are the element definition from < !ELEMENT nonleafElement (origi-
two fuzzy data trees. f’ is a sub-tree of F, written f’ / F, when nal-definition)> to

<!ELEMENT nonleafElement (original-definition| Val+| Dist)>


 V’ # V, w’ = w \ V’  V’.
 if i 2 V’ and (j, si) 2 w, then j 2 V’. and then add
 ‘’ and s’ indicate the restriction of ‘ and s to the nodes in V’,
respectively. <!ELEMENT Val (original-definition)>
 j’ 2 j.
That is, the non-leaf element nonleafElement may be crisp (e.g.,
Definition. Let fuzzy data trees f1 = (V1, w1, ‘1, s1, j1, d1) and student in Fig. 1) and then may be defined as
f1 = (V2, w2, ‘2, s2, j2, d2) be the sub-trees of F = (V, w, ‘, s, j, d). f1 and
f2 are isomorphic (recorded f1  f2), when <!ELEMENT nonleafElement (original-definition)>

 V1 [ V2 # V, w1 [ w2 # w and s1 [ s2 # s. When the non-leaf element nonleafElement is a fuzzy one, we dif-


 There is a one-to-one mapping, n‘: ‘1 ? ‘2, which makes ferentiate two situations: the element takes a value connected
n‘ (‘1) = ‘2. with a possibility degree (e.g., university in Fig. 1), and, second,
the element takes a set of values and each value is connected with
Several fuzzy constructs have been introduced for fuzzy XML data a possibility degree (e.g., employee in Fig. 1). The former element is
modeling in Ma and Yan (2007). To accommodate these fuzzy con- defined as follows.
structs, the DTD of the source XML document is correspondingly
modified. First Val element is defined as follows:
<!ELEMENT nonleafElement (Val+)>
<!ELEMENT Val (#PCDATA| original-definition)> <!ELEMENT Val (original-definition)>
<!ATTLIST Val Poss CDATA ‘‘1.0’’> <!ATTLIST Val Poss CDATA ‘‘1.0’’>

Then Dist element is defined as follows: The later element is defined as

<!ELEMENT Dist (Val+)> <!ELEMENT nonleafElement (Dist)>


<!ATTLIST Dist type (disjunctive|conjunctive) ‘‘disjunctive’’> <!ELEMENT Dist (Val+)>
<!ATTLIST Dist type (disjunctive|conjunctive)
For a leaf element which only contains text or #PCDATA, say, lea- ‘‘disjunctive’’>
fElement, its definition in the DTD is changed from <!ELEMENT Val (original-definition)>
<!ATTLIST Val Poss CDATA ‘‘1.0’’>
<!ELEMENT leafElement (#PCDATA)> to
<!ELEMENT leafElement (#PCDATA | Dist)>.
2.2. Fuzzy EER model
That is, leaf element leafElement may be a crisp one (e.g., sname of
student in Fig. 1), and then could be defined as Formally an EER model consists of a set of entity types ES = {E1,
E2, . . ., Ek} and a set of relationship types RS = {R1, R2, . . ., Ru}. For Ei -
<!ELEMENT leafElement (#PCDATA)>. 2 ES (0 6 i 6 k), AE (Ei) means a set of attributes that entity type Ei
contains, denoted AE (Ei) = {Ai1, Ai2, . . ., Aim}, and IE (Ei) means a
Also, it is possible that leaf element leafElement may be a fuzzy set of entity instances that entity type Ei contains, denoted IE
one, taking a value represented by a possibility distribution (e.g., (Ei) = {ei1, ei2, . . ., ein}. Consequently, Aj (Ei) is used to denote the
age of student in Fig. 1). Then it may be defined as attribute Aij of Ei and ep (Ei) is used to denote the entity eip of Ei
(0 6 i 6 k, 1 6 j 6 m and 1 6 p 6 n). Also ep (Aj (Ei)) is used to denote
<!ELEMENT leafElement (Dist)>. the value of entity eip on attribute Aij, where eip and Aij are an entity
instance and an attribute of entity type Ei, respectively. In the
Furthermore, we have context of the given Ei, ep (Aj) may be used instead of ep (Aj (Ei)).
For Rh 2 RS (0 6 h 6 u), AR (Rh) means a set of attributes that rela-
<!ELEMENT Dist (Val+)> tionship type Rh contains, denoted AR (Rh) = {Ah1, Ah2, . . ., Ahv}, and
<!ATTLIST Dist type (disjunctive|conjunctive) ‘‘disjunctive’’> IR (Rh) means a set of relationship instances that relationship type
Rh contains, denoted IR (Rh) = {ri1, ri2, . . ., riw}. Consequently, Al

μES (Ei)/Ei μ RS (Rh)/Rh μ AE (Aj)/Aj μ AE (Aj)/Aj

(a) (b) (c) (d)


(a) Entity type with membership degree (b) Relationship type with membership degree
(c) Single-valued attribute with membership degree (d) Multivalued attribute with membership degree

Fig. 1. First Level of Fuzziness in the Fuzzy EER Model.


3618 L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627

(Rh) is used to denote the attribute Ahl of Rh and rq (Rh) is used to de- Here, p (xs) (1 6 s 6 f) denotes the possibility that ep (Aj (Ei)) has va-
note the relationship rhq of Rh (0 6 h 6 u, 1 6 l 6 v and 1 6 q 6 w). lue xs. For the value of relationship on the given attribute, say rq (Al
Also rq (Al (Rh)) is used to denote the value of relationship rhq on (Rh)) (1 6 q 6 w), it is a fuzzy value and is represented by a possi-
attribute Ahl, where rhq and Ahl are a relationship instance and an bility distribution (a fuzzy set), say {p (y1)/y1, p (y2)/y2, . . ., p (yg)/
attribute of relationship type Rh, respectively. In the context of yg}. Here, p (yt) (1 6 t 6 g) denotes the possibility that rq (Al (Rh))
the given Rh, rq (Rh) may be used instead of rq (Al (Rh)). has value yt. The third level of fuzziness means that attributes
To accommodate fuzzy information in the EER model, the EER may take fuzzy values. Since an attribute may be single-valued
data model should be extended by using the fuzzy set and fuzzy lo- or multivalued, we have two interpretations to a fuzzy attribute
gic (Zadeh, 1978). Generally speaking, in a fuzzy EER model, the ES, value: a disjunctive one and a conjunctive one. A dashed-outline
RS, AE (Ei), IE (Ei), AR (Rh) and IR (Rh) may be fuzzy sets, and ep (Aj ellipse is used to denote the attribute taking fuzzy value(s). The
(Ei)) and rq (Al (Rh)) may be fuzzy values. In the following we inves- graphical representations of the third level of fuzziness in the fuzzy
tigate the details of the fuzzy EER data model. EER model are shown in Fig. 3.
It is possible that the first level of fuzziness and the third level
2.2.1. Fuzzy entity type, fuzzy relationship and fuzzy attribute of fuzziness appear in an attribute simultaneously. Then we have
Three levels of fuzziness are formally described in the context of disjunctive fuzzy value attribute with membership degree and
the entity types and attributes. The first level of fuzziness is the conjunctive fuzzy attribute with membership degree. Also it is
fuzziness by the extent to which the entity type or relationship possible hat the first level of fuzziness and the second level of fuzz-
type belongs to the data model as well as fuzziness on the content iness appear in an entity type and a relationship type simulta-
(in terms of attributes) of the type. The second level of fuzziness is neously, and then we have entity type with membership degree
the fuzziness related to the fuzzy occurrences of entities and rela- as well as fuzzy entities, and relationship type with membership
tionships. Even though the structure of an entity type or a relation- degree as well as fuzzy relationships. The graphical representations
ship type is crisp, it is possible that an instance belongs to the of the hybrid fuzziness in the fuzzy EER model are shown in Fig. 4.
corresponding type with a membership degree. The third level of
fuzziness is the fuzziness is on attribute values of entities and rela- 2.2.2. Fuzzy constraints of relationships
tionships. An attribute in an entity or a relationship defines a value The constraint of a relationship among entity types in the EER
domain. When this domain is a fuzzy subset or a set of fuzzy sub- model is called cardinality ratio constraint. Also in the EER model
set, the fuzziness of an attribute value appears. there is participation constraint, which stipulates the way that enti-
Formally, for an entity type, say Ei (1 6 i 6 k), we have lES (Ei)/Ei, ties participate in the relationship. The concept of participation de-
where 0 6 lES (Ei) 6 1 is the degree of Ei belonging to ES; for an gree is used to express the minimum number and maximum
attribute of Ei, say Aj (Ei) (1 6 j 6 m), we have lAE (Aj (Ei))/Aj (Ei), number of an entity participating in a relationship, expressed as
where 0 6 lAE (Aj (Ei)) 6 1 is the degree of Aj (Ei) belonging to AE (min, max) formally, where max P min P 0 and max P 1. When
(Ei). Also for an relationship type, say Rh (1 6 h 6 u), we have lRS min = 0, the way of an entity participates in a relationship is called
(Rh)/Rh, where 0 6 lRS (Rh) 6 1 is the degree of Rh belonging to partial participation, and is called total participation otherwise. The
RS; for an attribute of Rh, say Al (Rh) (1 6 l 6 v), we have lAR (Al cardinality ratio constraint and participation constraint are, some-
(Rh))/Al (Rh), where 0 6 lAR (Al (Rh)) 6 1 is the degree of Al (Rh) times, referred to as the structure constraint.
belonging to AR (Rh). To model the first level of fuzziness, the name In the fuzzy ER model, an entity may have the second level of
of attribute, entity type or relationship type should follow a pair of fuzziness and be associated with a degree that the entity belongs
words ‘‘mem/’’, where 0 < mem 6 1 and it is used to explicitly indi- to the entity type. Also the first level of fuzziness may exist in Ei
cate the membership degree that the attribute belongs to the cor- and Ej and relationship type Rij, namely, they are the fuzzy entity
responding entity type or relationship degree. The graphical types with membership degrees and the fuzzy relationship type
representations of the first level of fuzziness in the fuzzy EER mod- with membership degree. Then The participation constraints and
el are shown in Fig. 1. the cardinality constraints may be fuzzy. Formally, let Rij be a rela-
For an entity instance of entity type Ei, say ep (Ei) (1 6 p 6 n), tionship type of entity types Ei and Ej, denoted Rij (Ei, Ej), and let
formally we have lIE (ep (Ei))/ep (Ei), where 0 6 lIE (ep (Ei)) 6 1 is degree_Ei/Ei, degree_Ej/Ej, and degree_Rij/Rij. Let b be a threshold.
the degree of ep (Ei) belonging to IE (Ei). Also for a relationship in- Then Ei totally b-participates in Rij if
stance of relationship type Rh, say rq (Rh) (1 6 q 6 w), we have lIR
ð8ei Þð9ej ÞðlEi ðei Þ  b ^ lEj ðej Þ  b ^ lRij ðr ij ðei ; ej ÞÞ  b ^ degree Ei
(rq (Rh))/rq (Rh), where 0 6 lIR (rq (Rh)) 6 1 is the degree of rq (Rh)
belonging to IR (Rh). For the second level of fuzziness, an additional  b ^ degree Ej  b ^ degree Rij bÞ:
attribute is introduced into the corresponding entity type or rela-
And Ei partially b-participates in Rij if
tionship type to represent such a case. This special attribute is de-
noted by l and its attribute domain is [0, 1]. In order to ð9ei Þð9ej ÞðlEi ðei Þ  b ^ lEj ðej Þ  b ^ 0 < lRij ðr ij ðei ; ej ÞÞ < b ^ degree Ei
differentiate the entity type with the second level of fuzziness, a  b ^ degree Ej  b ^ degree Rij  bÞ:
dashed-outline rectangle is used to denote it. Similarly a dashed-
outline diamond is used to denote the relationship type with the Here ei and ej are the entities of Ei and Ej with instance membership
second level of fuzziness. The graphical representations of the sec- degrees lEi (ei) and lEj (ej), respectively, and rij (ei, ej) is a relation-
ond level of fuzziness in the fuzzy EER model are shown in Fig. 2. ship of entities ei and ej. The fuzzy participation means that every
For the value of entity on the given attribute, say ep (Aj (Ei)) ei of Ei with membership degree being greater than 0 participates
(1 6 p 6 n), its fuzzy value is formally represented by a possibility in at least one relationship of Rij with a membership degree being
distribution (a fuzzy set), say {p (x1)/x1, p (x2)/x2, . . ., p (xf)/xf}. greater than 0 as well.

Ei (a) Entity type with fuzzy entities


Rh (b) Relationship type with fuzzy relationships
μ μ

(a) (b)

Fig. 2. The Second Level of Fuzziness in the Fuzzy EER Model.


L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627 3619

belonging to the subtype must belong to the supertype. In the fuz-


(a) Disjunctive fuzzy value attribute zy EER model, entity types may be fuzzy ones with the second level
(b) Conjunctive fuzzy value attribute
of fuzziness as well as the first level of fuzziness. So the subtype/
(a) (b) supertype relationship is fuzzy. In other words, an entity type is
a subclass of another entity type with membership degree of
Fig. 3. Third Level of Fuzziness in the Fuzzy EER Model.
[0, 1]. The following rules are used to determine the fuzzy sub-
type/supertype relationship.
The graphical representations of the fuzzy participation, total
b-participation and partial b-participation in the fuzzy EER model (a) For any (fuzzy) entity, if the instance membership degree
are shown in Fig. 5. that it belongs to the subtype is less than or equal to the
The cardinality constrain refers to the correspondence between instance membership degree that it belongs to the
the numbers of the related entity types and one-to-one correspon- supertype,
dence (1:1), one-to-many correspondence (1:n), and many-to-many (b) the instance membership degree that it belongs to the sub-
correspondence (m:n) can be identified. In the fuzzy ER model, fuzzy type and the supertype is greater than or equal to a given
one-to-many correspondence is denoted 1:Ñ, for entity types Ei and threshold, and
Ej with relationship type Rij, where Ñ is a fuzzy set representing (c) the membership degree of the supertype is greater than or
‘‘how many’’ in the ‘‘many’’ side. That means that for each entity equal to the membership degree of the subtype.
ei of Ei, there may exist as many as Ñ entities of Ej corresponding
to ei, and for each entity ej of Ej, there is at most one entity of Ei cor- The subtype is then a subtype of the supertype with the mem-
responding to ej. Furthermore there are two kinds of fuzzy many-to- bership degree.
many correspondence, denoted m:Ñ and Õ:Ñ, respectively, for entity Formally let A be a fuzzy supertype of fuzzy subtypes B1, B2, . . .,
types Ei and Ej with relationship type Rij, where Õ and Ñ are fuzzy Bn. Without loss of generality, suppose that these entity types have
sets. Here m:Ñ means that for each entity ej of Ej, there may exist the instance membership degrees lA, lB1, lB2, . . ., and lBn, and have
more than one entity of Ei corresponding to ej, and for each entity the membership degrees degree_A, degree_B1, degree_B2, . . ., and
ei of Ei, there may exist as many as Ñ entities of Ej corresponding to degree_Bn, respectively. Let b be a given threshold. Then we have
ei. Õ:Ñ means that for each entity ei of Ei, there may exist as many
as Ñ entities of Ej corresponding to ei, and for each entity ej of Ej, ð8eÞðb 6 maxðlB1 ðeÞ; lB2 ðeÞ; . . . ; lBn ðeÞÞ 6 lA ðeÞÞ ^ b
there may exist as many as Õ entities of Ei corresponding to ej. 6 maxðdegree B1 ; degree B2 ; . . . ; degree Bn Þ 6 degree AÞ
The graphical representations of the fuzzy cardinality ratios in
the fuzzy EER model are shown in Fig. 6. That means that B1, B2, . . ., Bn are subtypes of A only if, in addition
that the membership degrees of all entities belonging to A and B1,
2.2.3. Fuzzy specialization and fuzzy generalization B2, . . ., Bn must be greater than or equal to the given threshold
A subtype is produced from supertype by means of inheriting and the membership degree of any entity belonging to A must be
some attributes of the supertype, overriding some attributes of greater than or equal to the membership degree of this entity
the supertype, and defining some new attributes. A subtype is belonging to B1, B2, . . ., Bn, the membership degrees of A and B1,
the specialization of the supertype and any one entity instance B2, . . ., Bn must be greater than or equal to the same given threshold

μES (Ei)/Ei μ RS (Rh)/Rh μ AE (Aj)/Aj μ AE (Aj)/Aj

(a) (b) (c) (d)


(a) Entity type with membership degree and fuzzy entities (b) Relationship type with membership degree and fuzzy relationships
(c) Disjunctive fuzzy value attribute with membership degree (d) Conjunctive fuzzy value attribute with membership degree

Fig. 4. Hybrid Fuzziness in the Fuzzy EER Model.

Rij β Rij β Rij


Ei Ei Ei

(a) (b) (c)

β β
μ (Ei)/Ei μ (Rij)/Rij μ (Ei)/Ei μ (Rij)/Rij μ (Ei)/Ei μ (Rij)/Rij

(d) (e) (f)


(a) Fuzzy participation of Ei in Rij (b) Total β- participation of Ei in Rij (c) Partial β- participation of Ei in Rij
(d) Fuzzy participation of Ei in Rij with the first level of fuzziness (e) Total β- participation of Ei in Rij with the first level of fuzziness
(f) Partial β- participation of Ei in Rij with the first level of fuzziness

Fig. 5. Fuzzy Participation in the Fuzzy EER Model.

1 Ñ m Ñ Õ Ñ
Ei Rij Ej Ei Rij Ej Ei Rij Ej

Fig. 6. Fuzzy Cardinality Ratios in the Fuzzy EER Model.


3620 L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627

and the membership degree of A must be greater than or equal to Generalization is the inverse process of specialization. Then we
the membership degree of B1, B2, . . ., Bn. have fuzzy total generalization, fuzzy disjoint generalization, and
Furthermore we have the fuzzy total specialization, fuzzy par- fuzzy overlapping generalization. But there is no fuzzy partial gen-
tial specialization, fuzzy disjoint specialization, and fuzzy overlap- eralization, which is consistent with the situation in the classical
ping specialization as follows. EER model.

(a) B1, B2, . . ., Bn are a fuzzy total specialization of A if


2.2.4. Fuzzy category
ð8eÞð9BÞðe 2 U ^ B 2 fB1 ; B2 ; . . . ; Bn g ^ b 6 lB ðeÞ 6 lA ðeÞ ^ b A category is a subtype of the union of the supertypes with dif-
6 degree B 6 degree AÞ: ferent entity types. Symbolically, a category B and the supertypes
A1, A2, . . ., An satisfy the relationship B # A1 [ A2 [ . . . [ An. The dif-
For any of entity belonging to supertype with an instance member- ference between a category and a subtype (say B’) with more than
ship degree that is not less than the given threshold, it must belong one supertype (say A’1, A’2, . . ., A’m) is that B’ # A’1 \ A’2 . . . A’m.
to one of its subtypes with a membership degree that is not less Compared with the subtype with multiple supertypes, the category
than the given threshold as well, and the later membership degree inherits some attributes from one of the supertypes.
is not greater than the former membership degree. In addition, the Entity types may be fuzzy ones with the second level of fuzzi-
later membership degree is not greater than the former member- ness as well as the first level of fuzziness. As a result, an entity type
ship degree. is a category of several entity types with membership degree of
(b) B1, B2, . . ., Bn are a fuzzy partial specialization of A if [0, 1]. Formally let B be a fuzzy category of fuzzy entity types A1,
A2, . . ., and An. Without loss of generality, first it is assumed that
ð9eÞð8BÞðe 2 U ^ B 2 fB1 ; B2 ; . . . ; Bn g ^ ððlA ðeÞ  b ^ lB ðeÞ the instance membership degrees of these entity types are lB,
< bÞ ^ :ðb 6 degree B 6 degree AÞÞÞ: lA1, lA2, . . ., and lAn, respectively (the second level of fuzziness);
second it is assumed that these fuzzy entity types have member-
That is, there exists an entity that belongs to supertype with a ship degrees degree_B/B, degree_A1/A1, degree_A2/A2, . . ., degree_An/
membership degree being greater than or equal to the given thresh- An, respectively (the first level of fuzziness). Let b be a given thresh-
old but belongs to any of subtypes with a membership degree being old. Then B is a category of A1, A2, . . ., and An if
less than the given threshold.
(c) B1, B2, . . ., Bn are disjoint if ð8eÞð9AÞðe 2 B ^ A 2 fA1 ; A2 ; . . . ; An g ^ b 6 lB ðeÞ 6 lA ðeÞ ^ b
ð9=eÞð8BÞð8B0 Þðe 2 U ^ B 2 fB1 ; B2 ; . . . ; Bn g ^ B0 6 degree B 6 minðdegree A1 ; degree A2 ; . . . ; degree An ÞÞ:
2 fB1 ; B2 ; . . . ; Bn g ^ minðlB ðeÞ; lB0 ðeÞÞ
 b ^ minðdegree B; degree B0 Þ  bÞ: That means that a fuzzy entity type B is the category of a group fuz-
zy entity types A1, A2, . . ., and An if
This means that there exists no any entity that belongs to more than
one subtype each with a membership degree being greater than or (a) for any (fuzzy) entity in B, say e, there must exist an entity
equal to the given threshold. type, say Ai (1 6 i 6 n) so that the membership degree that
(d) B1, B2, . . ., Bn are overlapping if e belongs to B is less than or equal to the membership degree
ð9eÞð8BÞð8B0 Þðe 2 U ^ B 2 fB1 ; B2 ; . . . ; Bn g ^ B0 that e belongs to entity type Ai,
(b) the instance membership degree that e belongs to B is
2 fB1 ; B2 ; . . . ; Bn g ^ minðlB ðeÞ; lB0 ðeÞÞ greater than or equal to the given threshold, and
 b ^ min ðdegree B; degree B0 Þ  bÞ: (c) for any entity type, say Ai (1 6 i 6 n), its membership degree
degree_Ai is greater than or equal to the degree_B/B, which is
That is, there exists an entity that belongs to more than one subtype greater than or equal to the given threshold.
each with a membership degree being greater than or equal to the
given threshold. Then the membership degree that B is a category of A1, A2, . . .,
and An should be lB (e). The graphical representation of the fuzzy
For fuzzy multiple inheritance of class, let B be a fuzzy subtype, category in the fuzzy EER model is shown in Fig. 8(a).
A1, A2, . . ., An be its multiple fuzzy supertypes, and they all have
instance membership degrees lB, lA1, lA2, . . ., and lAn, and have
membership degrees degree_B, degree_A1, degree_A2, . . ., and
degree_An, respectively. Then we have

ð8eÞð8AÞðe 2 Uj ^ A 2 fA1 ; A2 ; . . . ; An g ^ b 6 lB ðeÞ 6 lA ðeÞ ^ b ∨ ×


(a) Fuzzy category
(b) Fuzzy aggregation
6 degree B 6 minðdegree A1 ; degree A2 ; . . . ; degree An ÞÞ:

(a) (b)
The graphical representations of the fuzzy specialization in the
fuzzy EER model are shown in Fig. 7. Fig. 8. Fuzzy Category and Aggregation in the Fuzzy EER Model.

(a) Fuzzy total & disjoint specialization


d o d o ∧ (b) Fuzzy total & overlapping specialization
11 (c) Fuzzy partial & disjoint specialization
(d) Fuzzy partial & overlapping specialization
(e) Fuzzy subclass with multiple fuzzy superclasses
(a) (b) (c) (d) (e)

Fig. 7. Fuzzy Specialization in the Fuzzy EER Model.


L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627 3621

2.2.5. Fuzzy aggregation (c) entity types with the fuzziness at the second level, and
An aggregation captures a whole-part relationship between an (d) entity types with the fuzziness at the first level.
aggregate and a constituent part and these constituent parts can
exist independently. An entity type aggregated from fuzzy constit- For the entity types in case (a), they can be transformed following
uent parts must be fuzzy and the aggregation is fuzzy. Then an en- the approach developed in Conrad et al. (2000). The transformation
tity type is an aggregation of constituent parts with membership of the entity types with the third and second levels of fuzziness is
degree of [0, 1]. of particular concern. Formally suppose that we have an entity
Formally let A be a fuzzy aggregation of fuzzy entity types type named ‘‘EntityName’’, which contains an attribute named
B1, B2, . . ., and Bn. Here the instance membership degrees of these ‘‘AttributeName’’. Here ‘‘EntityName’’ is an entity type which may
entity types are lA, lB1, lB2, . . ., and lBn, respectively (the second contain some entity instances belonging to EntityName with mem-
level of fuzziness). Also these fuzzy entity types have membership bership degrees and ‘‘AttributeName’’ is an attribute which may
degrees degree_A/A, degree_B1/B1, degree_B2/B2, . . ., degree_Bn/Bn, take fuzzy values. For such an entity type, when its entity type
respectively (the first level of fuzziness). Let b be a given threshold. name is transformed into the name of the element type, the attri-
Then A is an aggregate of B1, B2, . . ., and Bn if butes cannot be transformed into element content description
directly. First, we should use
ð8eÞð9e1 Þð9e2 Þ... ð9en Þðe 2 A ^ e1 2 B1 ^ e2 2 B2 ^ ... ^ en 2 Bn ^ b 6 lA ðeÞ
6 minðlB1 ðe1Þ; lB2 ðe2Þ;...; lBn ðenÞÞ ^ b 6 degree A
6 minðdegree B1 ;degree B2 ;...;degree Bn ÞÞ: <!ELEMENT EntityName (Dist)>
<!ATTLIST EntityName FID IDREF #REQUIRED>
That means that a fuzzy entity type A is the aggregate of a group <!ELEMENT Dist (Val+)>
fuzzy entity types B1, B2, . . ., and Bn if <!ATTLIST Dist type (disjunctive)>
<!ELEMENT Val (AttributeName?)>
(a) for any (fuzzy) entity in A, say e, there exists a set of entities, <!ATTLIST Val Poss CDATA ‘‘1.0’’>
say e1, e2, . . . and en, and the membership degree that e
rather than directly use
belongs to entity type A is less than or equal to the member-
ship degree that ei belongs to entity type Bi (1 6 i 6 n), <!ELEMENT EntityName (AttributeName?)>
(b) the instance membership degree that e belongs to A is <!ATTLIST EntityName FID IDREF #REQUIRED>.
greater than or equal to the given threshold, and Then we should use
(c) for any entity type, say Bi (1 6 i 6 n), its membership degree <!ELEMENT AttributeName (Dist)>
degree_Bi is greater than or equal to the degree_A/A, which is <!ELEMENT Dist (Val+)>
greater than or equal to the given threshold. <!ATTLIST Dist type (disjunctive)>
<!ELEMENT Val (#PCDATA)>
The membership degree that A is an aggregation of B1, B2, . . ., <!ATTLIST Val Poss CDATA ‘‘1.0’’>
and Bn should be minlBi(ei)Pb (lBi (ei)) (1 6 i 6 n). The graphical
representation of the fuzzy aggregation in the fuzzy EER model is to replace
shown in Fig. 8(b). <!ELEMENT AttributeName (#PCDATA)>.

3. Mapping fuzzy EER model to fuzzy XML DTD


With the fuzzy entity types in (b) and (c) above, a combined kind of
Using the fuzzy EER model and fuzzy XML model, fuzzy informa- fuzzy entity types (denoted (e)) can be constructed. This kind of fuz-
tion can be modeled at two different levels. This section investigates zy entity types contains fuzziness both at the third and second lev-
the formal mapping of the fuzzy EER model into the fuzzy XML DTD. els, and their transformation to the fuzzy XML DTD is actually a
simple combination of the above transformations in cases (b) and
3.1. Transformation of entity type (c). For a weak entity type which depends on its owner entity type
in the fuzzy EER model, it can be regarded as a relation-valued attri-
An entity type of EER model generally corresponds to an XML bute and then transformed into the fuzzy DTD. But the entity types
element type declaration, and the attributes of the entity type in with the first level of fuzziness cannot be mapped into the created
the EER data model correspond to the element content description XML DTD because the fuzzy XML DTD model does not support fuzzy
in the XML DTD. Note that, like other conceptual data models, attri- information modeling at a metadata level.
bute names are mandatory in the EER model whereas the attribute An aggregation represents a whole-part relationship between
types are optional. But in the XML, element content only consists of an aggregate and a constituent part, in which the constituent parts
type names. So it is assumed that attribute names imply their attri- can be treated as the special attributes of the aggregate. So the
bute type names (Conrad et al., 2000). When there is no entity type aggregations can be transformed using the approach to the trans-
representing a suitable declaration for an attribute type, the attri- formation of entity types.
bute type is assumed to be an element whose content type is
#PCDATA. In addition, multiplicity specifications of attributes are 3.2. Transformation of relationship type
mapped into cardinality specifications with specifiers ?, ⁄, and +,
which are used for element content construction. The relationships in the EER model describe connections among
To transform from the fuzzy EER data model into the XML DTD, entity types. Basically, for two entity types with of a relationship,
we first suppose that the entity types in the fuzzy EER model are their names become the names of two corresponding element
neither subclasses nor superclasses. Then, we can distinguish four types, and the attributes of the entity types are transformed into
basic kinds of entity types in the fuzzy EER model as follows. the corresponding element content descriptions. Then each trans-
formed element must be augmented by a #REQUIRED IDREF attri-
(a) entity types without any fuzziness at the three levels, bute, which is an artificial one and comes from another entity type
(b) entity types with the fuzziness only at the third level, involved in the relationship.
3622 L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627

In the fuzzy EER model, we can distinguish four kinds of rela- <!ELEMENT key-1 (#PCDATA)>
tionship types as follows: <!ELEMENT key-2 (#PCDATA)>
<!ELEMENT attribute (Dist)>
(a) relationship types without any fuzziness at the three levels, <!ELEMENT Dist (Val+)>
(b) relationship types with the fuzziness only at the third level, <!ATTLIST Dist type (disjunctive)>
(c) relationship types with the fuzziness at the second level, and <!ELEMENT Val (#PCDATA)>
(d) relationship types with the fuzziness at the first level. <!ATTLIST Val Poss CDATA ‘‘1.0’’>

Here we only focus on the fuzzy relationship types in cases (b) and
(c). At this point, a fuzzy relationship type is regarded as a fuzzy
entity type, and can be transformed into a virtual element type
in the fuzzy XML DTD. Then the relationship type and entity types 3.3. Transformation of generalization
connected with the relationship type are transformed according to
the transformation of fuzzy entity types developed above. The generalization/specialization in the EER model defines a
Formally let we have two entity types ‘‘Entity-1’’ and ‘‘Entity-2’’, subtype/supertype relationship between entity types, in which
which contains primary keys ‘‘key-1’’ and ‘‘key-2’’, respectively. the entity type called supertype is a more general description of
Also assume that there is a relationship type named ‘‘Relationship- a set of other entity types called subtypes. Following the same
Type’’ between these two entity types, which has the second level transformation of entity types, the supertype and all subtypes
of fuzziness and contains a primary key ‘‘key-R’’ as well as an attri- are transformed into the element types in the XML DTD, respec-
bute ‘‘attribute’’ with the third level of fuzziness. Then ‘‘Entity-1’’ tively. Here the element type mapped from the supertype is called
and ‘‘Entity-2’’ can be directly transformed into two separate ele- a superelement and the element type mapped from a subtype is
ment types following the transformation of fuzzy entity types called a subelement (Conrad et al., 2000). Note that a superelement
developed in Section 3.1. Also ‘‘RelationshipType’’ can be trans- must receive an additional ID attribute stated #REQUIRED, and
formed into an element type following the transformation of fuzzy each subelement must be augmented by a #REQUIRED IDREF attri-
entity types developed in Section 3.1. But this created element type bute in addition to the transformations that the entity type names
must contain ‘‘key-1’’ and ‘‘key-2’’ as its element content descrip- become the names of the element types and the attributes are
tion in addition to ‘‘key-R’’ and ‘‘attribute’’, and finally we have transformed into element content description.
Now let us focus on the fuzzy generalization in the fuzzy EER
<!ELEMENT RelationshipType (Dist)> model. For a fuzzy supertype/subtype in the fuzzy EER model, as-
<!ATTLIST RelationshipType yid ID #REQUIRED> sume that we have a supertype named ‘‘SuperType’’ and two sub-
<!ELEMENT Dist (Val+)> types named ‘‘SubType-1’’ and ‘‘SubType-2’’, respectively, the
<!ATTLIST Dist type (disjunctive)> generalization has fuzziness at the type/instance level as well as
<!ELEMENT Val (key-R, key-1, key-2, attribute)> at the attribute value level. Following the transformation of fuzzy
<!ATTLIST Val Poss CDATA ‘‘1.0’’> entity types developed in Section 3.1 (i.e., transforming the entity
<!ELEMENT key-R (#PCDATA)> types in the cases of (b) and (c) above), these three entity types are

Gauss d Ele_Num Num_gauss Num_node Num_DOF Num total_point


VectorNum

composed Element Num_ele_node


Ele_Type
Lnods
VectorNum
Dim μ Dim_xyz

Vector Dvolu d Num_element


Num_nodal_point
form Array composed

Elem_DOF Num_ele_gauss
composed composed Num_Element General_Data

μ Num_bc_point
Total_DOF
form Rdim Element_SEQ Els_Num ID μ

Cdim
Dim_xyz Title Node_DOF Num_gauss
Matrix μ Status Num_Node
MatrixNum

Shape Seq NodeNum Node NumDOF


composed

0.5/Seq node_num NumDim Status xyz disp


μ

Fig. 9. Fuzzy EER Model for Finite Element Analysis.


L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627 3623

Fig. 10. Fuzzy XML DTD Element Types Trnasfromed from the Independent Entity Types in Fig. 9.
3624 L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627

transformed first. Then the created superelement should be associ- imprecision and uncertainty in the description of the conceptual
ated with ID #REQUIRED, and the created each subelement should design (Wood and Antonsoon, 1992). Actually fuzzy set theory
be associated with IDREF #REQUIRED. Formally we have can be used in many engineering applications, where either crisp
information is not available or information flexible processing is
<!ELEMENT SubType -1 (......)> necessary. In order to model fuzzy engineering data, in Yan and
<!ATTLIST SubType -1 sid IDREF REQUIRED> Ma (2013), the IDEF1X model, a conceptual model designed espe-
...... cially for engineering data modeling, is extended to the fuzzy
<!ELEMENT SubType -2 (......)> IDEF1X model for conceptually designing the fuzzy object-oriented
<!ATTLIST SubType -2 sid IDREF REQUIRED > databases.
...... In this section, we give an example from engineering applica-
<!ELEMENT SuperType (SubType -1?, SubType -2?)> tions to illustrate the transformation of the fuzzy EER model into
<!ATTLIST SuperType eid ID #REQUIRED> the fuzzy XML DTD. We use the fuzzy EER model shown in Fig. 9
...... rather than the fuzzy IDEF1X model in Yan and Ma (2013) to model
fuzzy engineering information for finite element analysis of engi-
neering problems.
Fig. 9 contains eight entity typea. Among these entity types, en-
Categorization can be regarded as a kind of selective inheritance. tity types Vector, Matrix, General_Data, Element_SEQ and Node are
The entity types in the categorization, fuzzy or not, can be mapped the entity types with the second level of fuzziness (entity type
into the element types in the fuzzy XML DTD, respectively, follow- Node, for example, may have some entity instances which fuzzily
ing the transformation presented above. belong to Node), and entity types Vector, Matrix, General_Data, Ele-
ment_SEQ and Node are the entity types with the third level of fuzz-
4. A case study iness (entity type Node, for example, may have fuzzy values on
attribute Status). In addition, entity type Shape may or may not
The EER model, being an important kind of conceptual data contain attribute seq, and it is an entity type with the first level
model, has been traditionally applied in many application domains of fuzziness on attributes. In addition, there are two relationships,
such as engineering applications (Eastman and Fereshetian, 1994). all named composed, between Element and Vector, and Element and
In (Yu and Adeli, 1993), for example, the EER model is used to mod- Matrix; there are three relationships with the second level of fuzz-
el a myriad of data types generated in finite element analysis of iness, all named composed, between Matrix and Vector, Shape and
complex engineering systems. Also nowadays XML has been Matrix, and Element and Element_SEQ. Among these eight entity
widely applied in Web-based engineering applications for product types, entity types Gauss and Element have a supertype/subtype
data exchange and integration (Xu and Liu, 2003). A XML-based relationship, and entity types General_Data and Element have a fuz-
product data markup language is proposed in Burkett et al. zy supertype/subtype relationship.
(1999). Engineering applications are typically knowledge-intensive For the transformation of the fuzzy EER model in Fig. 9 to the
and engineering data is inherently imprecise and uncertain. fuzzy XML DTD data model, first we need to identify independent
Viewed from conceptual design phase of products, for example, (fuzzy) entity types. An independent (fuzzy) entity type means
the early phases of product design, the design space is relatively such an entity type which is not involved in any supertype/subtype
wide open and some constraints have not been identified. Product relationships. An independent (fuzzy) entity type can be trans-
preliminary design is essentially a process of reducing the formed into an element type in the (fuzzy) XML DTD directly. In

Fig. 11. Fuzzy XML DTD Element Types Trnasfromed from the Supertypes in Fig. 9.
L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627 3625

Fig. 9, entity types Node, Element_SEQ, Sharp, Matrix and Vector are entity types can be transformed into element types ELEMENT,
identified to be independent (fuzzy) entity types and they can be GAUSS and GENERAL_DATA in the (fuzzy) XML DTD following the
directly transformed into element types NODE, ELEMENT_SEQ, discussion given in Section 3.3. Entity types Gauss and Gen-
SHARP, MATRIX and VECTOR, respectively. Note that, among these eral_Data are transformed into XML DTD element types GAUSS
independent entity types, Element_SEQ is a fuzzy entity type with and GENERAL_DATA shown in Fig. 11, and entity type Element is
the second level of fuzziness, Node, Matrix and Vector are fuzzy en- transformed into XML DTD element type ELEMENT shown in
tity types with the third level of fuzziness, and these independent Fig. 12.
fuzzy entity types can be transformed only following the discus- Finally we can transform the (fuzzy) relationships. In Fig. 9,
sion given in Section 3.1. Finally the XML DTD element types, there are two relationships named composed between Element
which are transformed from the independent (fuzzy) entity types and Vector, and Element and Matrix; there are three relationships
in Fig. 9, are shown in Fig. 10. with the second level of fuzziness named composed between Matrix
After the independent (fuzzy) entity types are transformed, now and Vector, Shape and Matrix, and Element and Element_SEQ. These
we can focus on the (fuzzy) entity types involved in subtype/super- five relationships can be respectively transformed into element
type relationships. In Fig. 9, entity type Element is a subtype of types COMPOSED-1, COMPOSED-2, COMPOSED-3, COMPOSED-4,
supertypes General_Data and Gauss, respectively, and these three and COMPOSED-5 in the (fuzzy) XML DTD following the discussion

Fig. 12. Fuzzy XML DTD Element Type Trnasfromed from the Subtype in in Fig. 9.

Fig. 13. Fuzzy XML DTD Element Type Trnasfromed from the Relationships in in Fig. 9.
3626 L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627

given in Section 3.2. These transformed element types are shown Chamorro-Martínez, J., Medina, J. M., Barranco, C. D., Galán-Perales, E., & Soto-
Hidalgo, J. M. (2007). Retrieving images in fuzzy object-relational databases
in Fig. 13.
using dominant color descriptors. Fuzzy Sets and Systems, 158(3), 312–324.
In the transformation discussed above, the fuzziness in the fuz- Chen, G. Q. & Kerre, E. E. (1998). Extending ER/EER Concepts towards Fuzzy
zy EER model is preserved in the fuzzy XML DTD data model except Conceptual Data Modeling. In Proceedings of the 1998 IEEE international
for the fuzziness in entity type Sharp, where attribute ‘‘Seq’’ bongs conference on fuzzy systems (Vol. 2, pp. 1320–1325).
Conrad, R., Scheffner, D. & Freytag, J. C. (2000). XML Conceptual Modeling Using
to Sharp with membership degree 0.5. After the transformations UML. In Proceedings of the 19th International Conference on Conceptual Modeling
above, the fuzzy EER data model in Fig. 9 is finally transformed into (Vol. 1920, pp. 558–571). Lecture notes in computer science. Berlin Heidelberg:
the fuzzy XML DTD data model. Springer-Verlag.
Cuevasa, L., Marínb, N., Ponsb, O., & Vilab, M. A. (2008). Pg4DB: A fuzzy object-
relational system. Fuzzy Sets and Systems, 159(12), 1500–1514.
Dubois, D., Prade, H., & Rossazza, J. P. (1991). Vagueness, typicality, and uncertainty
5. Conclusion in class hierarchies. International Journal of Intelligent Systems, 6, 167–183.
Eastman, C. M., & Fereshetian, N. (1994). Information models for use in product
Imprecise and uncertain data exist in many the real-world design: A comparison. Computer-Aided Design, 26(7), 551–572.
Elmasri, R., Li, Q., Fu, J., Wu, Y.-C., Hojabri, B., & Ande, S. (2005). Conceptual modeling
applications and imprecise and uncertain data modeling has been
for customized xml schemas. Data & Knowledge Engineering, 54(1), 57–76.
extensively investigated mainly in the context of classical database Galindo, J., Urrutia, A., Carrasco, R. A., & Piattini, M. (2004). Relaxing constraints in
models (e.g., relational database model). Recently, with the prompt enhanced entity-relationship models using fuzzy quantifiers. IEEE Transactions
on Fuzzy Systems, 12(6), 780–796.
development and wide applications of the Web, XML has been the
Gaurav, A., Alhajj, R. (2006). Incorporating fuzziness in XML and mapping fuzzy
de facto standard of data representation and exchange on the Web relational data into fuzzy XML. In Proceedings of the 2006 ACM symposium on
and imprecise and uncertain XML data management has received applied computing (pp. 456–460).
more attention. This paper investigates the formal mapping from George, R., Srikanth, R., Petry, F. E., & Buckles, B. P. (1996). Uncertainty management
issues in the object-oriented data model. IEEE Transactions on Fuzzy Systems,
the fuzzy conceptual data model to the fuzzy XML model. The fuz- 4(2), 179–192.
zy conceptual data model used in the paper is the fuzzy EER model, Gyseghem, N. V., & Caluwe, R. D. (1998). Imprecision and uncertainty in UFO
a fuzzy extension to the classical EER model which is widely ap- database model. Journal of the American Society for Information Science, 49(3),
236–252.
plied in information modeling. Both the fuzzy EER model and the Hung, E., Getoor, L., & Subrahmanian, V. S. (2003). PXML: A probabilistic
fuzzy XML model are formally described in the paper. On the basis, semistructured data model and algebra. In Proceedings of the 19th the
the formal approach to translating the fuzzy EER model into the international conference on data engineering (pp. 467–478).
Ma, Z. M. (2005). A conceptual design methodology for fuzzy relational databases.
fuzzy XML model is developed. The proposed approach can serve Journal of Database Management, 16(2), 66–83.
as the conceptual design of fuzzy XML model and fuzzy data can Ma, Z. M., Liu, J., & Yan, L. (2010). Fuzzy data modeling and algebraic operations in
be modeled in two kinds of different data models. The formal XML. International Journal of Intelligent Systems, 25(9), 925–947.
Ma, Z. M., & Shen, D. (2006). Modeling fuzzy information in the IF2O and object-
translation from the fuzzy XML model to the fuzzy EER model is
oriented data models. Journal of Intelligent & Fuzzy Systems, 17(6), 597–612.
developed in our previous work (Yan and Ma, 2012). Ma, Z. M., & Yan, L. (2007). Fuzzy XML data modeling with the UML and relational
It should be noted that the fuzzy XML model discussed in this data models. Data & Knowledge Engineering, 63, 972–996.
Ma, Z. M., & Yan, L. (2008). A literature overview of fuzzy database models. Journal of
paper only focuses on the fuzzy XML DTD. Compared with XML
Information Science and Engineering, 24(1), 189–202.
DTD which lacks enough expressive power to properly describe Ma, Z. M., & Yan, L. (2010). A literature overview of fuzzy conceptual data modeling.
highly structured data, XML Schema provides a much richer set Journal of Information Science and Engineering, 26(2), 427–441.
of structures, types and constraints for describing data. So in the Ma, Z. M., Yan, L., & Zhang, F. (2012). Modeling fuzzy information in UML class
diagrams and object-oriented database models. Fuzzy Sets and Systems, 186(1),
near future, we will concentrate on the fuzzy XML Schema model, 26–46.
investigating the formal translation from the fuzzy EER model to Ma, Z. M., Zhang, Fu, & Yan, Li (2011). Fuzzy information modeling in UML class
the fuzzy XML Schema model as well as the reengineering of the diagram and relational database models. Applied Soft Computing, 11(6),
4236–4245.
fuzzy XML Schema model into the fuzzy EER model. Ma, Z. M., Zhang, W. J., & Ma, W. Y. (2004). Extending object-oriented databases for
fuzzy information modeling. Information Systems, 29(5), 421–435.
Ma, Z. M., Zhang, W. J., Ma, W. Y., & Chen, G. Q. (2001). Conceptual design of fuzzy
Acknowledgements object-oriented databases using extended entity-relationship model.
International Journal of Intelligent Systems, 16, 697–711.
The authors wish to thank the anonymous referees for their Ma, Z., & Yan, L. (2010). Soft computing in XML data management. Springer-Verlag.
Mani, M., Lee, D. W. & Muntz, R. R. (2001). Semantic data modeling using XML
valuable comments and suggestions, which improved the technical schemas. In Proceedings of the 20th international conference on conceptual
content and the presentation of the paper. The work is supported modeling (Vol. 2224, pp. 149–163). Lecture notes in computer science. Berlin
by the National Natural Science Foundation of China (61370075, Heidelberg: Springer-Verlag.
Nierrman, A. & Jagadish, H. V. (2002). ProTDB: Probabilistic data in XML. In Proceedings
60873010 and 61073139) and the Program for New Century Excel-
of the 28th international conference on very large data bases (pp. 646–657).
lent Talents in University (NCET-05-0288). Oliboni, B. & Pozzani, G. (2008). Representing fuzzy information by using XML
schema. In Proceedings of the 2008 international conference on database and
expert systems application (pp. 683–687).
References Petrovic, D., Roy, R., & Petrovic, R. (1999). Supply chain modeling using fuzzy sets.
International Journal of Production Economics, 59, 443–453.
Abiteboul, S., Segoufin, L. & Vianu, V. (2001). Representing and Querying XML with Prade, H., & Testemale, C. (1984). Generalizing database relational algebra for the
Incomplete Information. In Proceedings of the 12th ACM SIGACT-SIGMOD-SIGART treatment of incomplete or uncertain information and vague queries.
symposium on principles of database systems (pp. 150–161). Information Sciences, 34, 115–143.
Aygun, R. S., & Yazici, A. (2004). Modeling and management of fuzzy information in Psaila, G. (2000). ERX: A data model for collections of XML documents. In
multimedia database applications. Multimedia Tools Applications, 24(1), 29–56. Proceedings of the 2000 ACM symposium on applied computing (Vol. 2, pp. 898–
Bernauer, M., Kappel, G. & Kramler, G. (2004). Representing XML Schema in UML-A 903).
Comparison of Approaches. In Proceedings of the 4th international conference on Raju, K. V. S. V. N., & Majumdar, K. (1988). Fuzzy functional dependencies and
web engineering (Vol. 3140, pp. 440–444). Lecture notes in computer science. lossless join decomposition of fuzzy relational database systems. ACM
Berlin Heidelberg: Springer-Verlag. . Transactions on Database Systems, 13(2), 129–166.
Bertino, E., & Catania, B. (2001). Integrating XML and databases. IEEE Internet Senellart, P. & Abiteboul, S. (2007). On the complexity of managing probabilistic
Computing, 84–88. July–August. XML data. In Proceedings of the 26th ACM SIGMOD-SIGACT-SIGART symposium on
Bordogna, G., Pasi, G., & Lucarella, D. (1999). A fuzzy object-oriented data model for principles of database systems (pp. 283–292).
managing vague and uncertain information. International Journal of Intelligent Umano, M., & Fukami, S. (1994). Fuzzy relational algebra for possibility-
Systems, 14, 623–651. distribution-fuzzy-relational model of fuzzy data. Journal of Intelligent
Buckles, B. P., & Petry, F. E. (1982). A fuzzy representation of data for relational Information Systems, 3, 7–27.
database. Fuzzy Sets and Systems, 7(3), 213–226. Van Keulen, M., De Keijzer, A. & Alink, W. (2005). A probabilistic XML approach to
Burkett, W. (1999). PDML: A new paradigm for product data exchange and data integration. In Proceedings of the 2005 international conference on data
integration. White paper. http://www.pdit.com/pdml/whitepap.pdf. engineering (pp. 459–470).
L. Yan, Z.M. Ma / Expert Systems with Applications 41 (2014) 3615–3627 3627

Wood, K. L., & Antonsoon, E. K. (1992). Modeling imprecision and uncertainty in Yan, L., & Ma, Z. M. (2013). Conceptual design of object-oriented databases for fuzzy
preliminary engineering design. Mechanism and Machine Theory, 25(3), engineering information modeling. Integrated Computer-Aided Engineering,
305–324. 20(2), 183–197.
Xiao, R. G., Dillon, T. S., Chang, E. & Feng, L. (2001). Modeling and transformation of Yan, L., Ma, Z. M. & Liu, J. (2009). Fuzzy data modeling based on XML schema. In
object-oriented conceptual models into XML schema. In Proceedings of the12th Proceedings of the 2009 ACM international symposium on applied computing (pp.
international conference on database and expert systems applications (Vol. 2113, 1563–1567).
pp. 795–804). Lecture notes in computer science. Berlin Heidelberg: Springer- Yazici, A., Buckles, B. P., & Petry, F. E. (1999). Handling complex and uncertain
Verlag. information in the ExIFO and NF2 data models. IEEE Transactions on Fuzzy
Xu, X., & Liu, D. T. (2003). A web-enabled PDM system in collaborative design Systems, 7(6), 659–676.
environment. Robotics and Computer-Integrated Manufacturing, 19(4), 315–328. Yu, G., & Adeli, H. (1993). Object-oriented finite element analysis using EER model.
Yager, R. R. (2000). Targeted e-commerce marketing using fuzzy intelligent agents. Journal of Structural Engineering, 119(9), 2763–2781.
IEEE Intelligent Systems, 15(6), 42–45. Zadeh, L. A. (1965). Fuzzy Sets. Information and Control, 8(3), 338–353.
Yager, R. R., & Pasi, G. (2001). Product category description for web-shopping in e- Zadeh, L. A. (1978). Fuzzy sets as a basis for a theory of possibility. Fuzzy Sets and
commerce. International Journal of Intelligent Systems, 16, 1009–1021. Systems, 1(1), 3–28.
Yan, L., & Ma, Z. M. (2012). Incorporating fuzzy information into the formal mapping Zvieli, A. & Chen, P. P. (1986). Entity-relationship modeling and fuzzy databases. In
from web data model to extended entity-relationship model. Integrated Proceedings of the 1986 IEEE international conference on data engineering (pp.
Computer-Aided Engineering, 19(4), 313–330. 320–327).

You might also like