<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Teaching Conceptual Modeling in ER: Chen Worlds</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author role="corresp">
							<persName><forename type="first">Natalya</forename><forename type="middle">G</forename><surname>Keberle</surname></persName>
							<email>nkeberle@gmail.com</email>
							<affiliation key="aff0">
								<orgName type="institution">Zaporozhye National University</orgName>
								<address>
									<addrLine>Zhukovskogo st. 66</addrLine>
									<postCode>69063</postCode>
									<settlement>Zaporozhye</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Ivan</forename><forename type="middle">V</forename><surname>Utkin</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Zaporozhye National University</orgName>
								<address>
									<addrLine>Zhukovskogo st. 66</addrLine>
									<postCode>69063</postCode>
									<settlement>Zaporozhye</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Teaching Conceptual Modeling in ER: Chen Worlds</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">A2E3AC719A02C8264E03B9DBF9EAB1E5</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-24T01:36+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>Conceptual modeling</term>
					<term>entity-relationship diagram</term>
					<term>teaching ER TeachingProcess</term>
					<term>TeachingMethodology</term>
					<term>ConceptualModeling</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Whilst algorithmic modeling is taught intensively both in school and higher education, conceptual modeling, or modeling of data to be used by algorithms, is less highlighted in the teaching curricula. However, understanding basic conceptual modeling principles plays a very important role in practice, as the cost of wrong solutions taken at the level of conceptual modeling is usually high. Tools, accelerating learning of conceptual modeling, are rare, at least freely available or mentioned in the literature. We present our work in progress -a system called "Chen Worlds" reflecting the focus on ER paradigm of conceptual modeling, describe its use cases, architecture and technical solutions undertaken.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>A course in databases and information systems, even introductory, pays attention to the architecture of a database system and to the process of a database system building, part of which is conceptual modeling. The analysis of student works in conceptual modeling for databases, particularly in ER notation <ref type="bibr" target="#b0">[1]</ref>, has envisaged a set of common mistakes, coming from either total misunderstanding of ER notation (rather seldom, nevertheless), or from misconception of specific use cases. Provision of detailed feedback on resolving misconceptions for interested students raises the syntactical validity of their ER diagrams produced essentially. Without clear understanding of the syntax of ER notation it is hard to produce conceptual models which correctly reflect a domain at the level of semantics. We acknowledge that teaching semantically correct conceptual modeling requires much more time for practice, and restrict ourselves with a modest aim -to create an easy-to-use and friendly environment to learn syntax of ER diagrams.</p><p>The paper is structured as follows: in the Section 2, we describe and classify patterns of misconception of ER notation, detected during the analysis of students' works. Section 3 presents the related work and fruitful ideas inspiring the presented approach to teaching ER. The architecture of the system "Chen Worlds" and the use cases are sketched in the Section 4. Section 5 presents concluding remarks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Common Mistakes in Understanding ER</head><p>The notation of ER uses small and simple set of basic constructs: entities, attributes (including primary, optional, multiple), relationships, weak entities and generalizations. Well known complex entities -aggregations and associations are derived from this set.</p><p>All the mistakes in understanding ER are divided into syntactic and semantic. Unsurprisingly, usage of incorrect syntax is conditioned by a poor understanding of a domain modeled. However, we have assumed that domain modeling skill requires some experience and time, and during the introductory course we can only teach some well known heuristics for semantically correct conceptual modeling.</p><p>Let's illustrate the idea with typical examples, taken from works of students. The absence of a primary key for an entity is a syntax mistake (see Fig. <ref type="figure" target="#fig_0">1a</ref>), whereas usage of single-valued attribute as a primary key for an entity having all other properties as multiple-valued attributes shows a semantic misconception of a domain (see Fig. <ref type="figure" target="#fig_0">1b</ref>).</p><p>There are more ambiguous examples, like the one depicted on Fig. <ref type="figure" target="#fig_0">1c</ref>. Nondifferentiation between the values of a property (e.g. "rain", "snow', "hoar-frost" etc. are some values of a property "name" of an entity "Precipitation") and composite properties (e.g. "address" is a composite property with atomic parts "city", "street", "house', "apartment", "postal code") could be a semantic misconception.</p><p>However, under certain circumstances, namely, assuming that the values of properties "rain", "snow", "hoar-frost" are ranging in Boolean data type, the diagram, depicted on Fig. <ref type="figure" target="#fig_0">1c</ref>, could be semantically correct. From the syntax of ER notation and following the analysis of the students' works in conceptual modeling, we have constructed a list of core syntactical misconceptions, a notable part of which is given below: 1. If two different entities possess exactly the same set of attributes, they could be merged.</p><p>2. Duplication of attributes across several entities is not allowed, especially if the attributes are foreign keys. 3. Primary key should be introduced for every concept in an ER diagram. 4. Primary key attributes cannot be optional, they should be mandatory. 5. Primary keys of relationships are not allowed on an ER diagram. 6. Cardinalities of a relationship are from the set {1, M}. 7. Participation cardinalities (optionality) of a relationship are from the set {0,1}. 8. A relationship cannot be directly related to another relationship. 9. An entity cannot be directly related to another concept. 10. Composite properties should have as parts only properties, not values of properties. 11. Weak entity cannot be related to strong entity with cardinalities, different from (1,1):(1,M). 12. Participation cardinalities for aggregate entity and its parts are to be mandatory. 13.</p><p>To resolve at least these misconceptions and to help tutor and students in understanding conceptual modeling in ER at least at the level of syntax we exploit several techniques, described in the next section.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Accelerating Learning, Root Questions and Gaming Environment</head><p>According to the review of motivations for achievements in mathematics <ref type="bibr" target="#b1">[2]</ref>: "…If students realize that their successes are meaningful and result both from their abilities and from a high degree of effort, they are likely to believe that they can do mathematics if they try…". Understanding conceptual modeling from our point of view is more to efforts put to understand the notation first and to apply it for different domains.</p><p>The idea of accelerating learning when teaching conceptual modeling as part of a course in databases and information systems has roots in one of the works of Professor Emeritus Jeffrey Ullman<ref type="foot" target="#foot_0">1</ref> at Stanford University. Prof. Ullman with colleagues had created Gradiance On-Line Accelerated Learning System<ref type="foot" target="#foot_1">2</ref> -a service for on-line training in solving simple-to-tricky exercises in various fields of Database Systems, Compilers, Automata Theory and Operation Systems.</p><p>Following the idea of a root question <ref type="bibr" target="#b2">[3]</ref> they had introduced sets of exercises, addressing the main problems of the particular field of study, sets of possible mistakes, and sets of hints (and in some cases, solutions) to avoid those mistakes.</p><p>The idea of immersion of learning to gaming environment is widely used in practice for various fields of study. Of particular interest are the systems for teaching programming, like ALICE [4] -for object-oriented programming, PictoMir <ref type="bibr" target="#b3">[5]</ref> and KuMir <ref type="bibr" target="#b4">[6]</ref> -well known and respected environments aiming at teaching children and secondary school pupils basics of algorithmic thinking. The main distinguishable feature of such systems is immediate visualization of the choices a scholar makes, and consequent visualization of the solution by the system.</p><p>For example, in PictoMir there are: Environment -a part of the Universe, usually, a plain surface made of squares, Robot-Performer -a robot, able to move on that surface one step back or forth, rotate 90 degrees to the left and to the right, and Learner -usually a child, that carries out a task, e.g. "Let Robot-Performer fill in with some color all the squares at the corners of the surface", writing an algorithm of the kind "Move 1 step forth, Fill the square, Turn 90 degrees left, Move 1 step forth…". Algorithm writing is also replaced with picking up the proper symbol of the robotic language, like "left arrow", "turn 90 degrees left arrow" and so forth. The solution proposed by a scholar is executed "as is" step by step, and it's easily seen at what step of the algorithm Robot-Performer fails.</p><p>For Conceptual Modeling in ER we initially have a set of graphic primitives and a set of connection rules for primitives. Adopting the idea of a root question we propose an environment for building, visualization and validation of conceptual models in ER notation, described in the next section.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Chen Worlds: Use Cases, Architecture and Technical Solutions</head><p>Chen Worlds -is a cross-platform software system for learning, building, visualization and validation of conceptual models in ER notation.</p><p>We have identified two main roles of actors in Chen Worlds: a Scholar that is a person, who learns conceptual modeling for databases, and a Tutor, who prepares teaching materials.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A Scholar use case</head><p>A Scholar uses GUI to access the system. His/her aim is to obtain certain knowledge on how to use Chen notation in conceptual modeling for databases. The system proposes a Scholar a set of examples, each of which is oriented on answering of one root question.</p><p>Each example is presented as a text, shown to a Scholar, or as a picture, depending on the type of question. There are one or several correct answers (there are situations when several solutions are correct in Chen notation), which are usually not shown to a Scholar until he or she submits at least one solution. The questions are created according to the root question technique <ref type="bibr" target="#b2">[3]</ref>.</p><p>A Scholar may also use the system as a guide to notation, choosing a theme from a list of themes dedicated to conceptual modeling in ER.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A Tutor use case</head><p>A Tutor uses either GUI or usual text editor to create examples of ER diagrams. His/her aim is to construct different examples, demonstrating the applicability of a particular problem addressed with a root question. A Tutor edits a set of rules for detection of core misconceptions (see Section 2).</p><p>The architecture of the system is presented in Fig. <ref type="figure" target="#fig_1">2</ref>. The system consists of VISUALIZER, SOLVER, PARSER and GUI components. VISUALISER shows a task (a text, a picture, or both), shows a hint in the text of a task, and shows a hint in a picture. VISUALIZER provides a palette of graphical primitives of Chen notation.</p><p>In order to correctly present an ER diagram after reading its XML encoding, VISUALISER performs initial layout task, assigning each entity, relationship and generalization particular absolute places on a working space. Attributes, cardinalities and optionalities are placed relatively to entities/relationships they belong to.</p><p>With respect to the user role, VISUALISER may consult SOLVER and restrict the applicability of elements of the ER notation, avoiding syntactically incorrect diagrams (suitable in Tutor mode to save time). For Scholar mode VISUALISER allows arbitrary combinations of elements.</p><p>A solution submitted by a user is parsed into XML presentation and evaluated by SOLVER. SOLVER compares a solution submitted by a Scholar with respect to a correct answer of the task, detects mistakes, using a set of predefined rules, already created by a Tutor, and depending on which rules are violated, returns to VISUALISER a hint code for a user. If several mistakes are appeared in one submitted solution, SOLVER first returns hint code of highest priority (which means the most serious mistake), and in case a Scholar correctly resolves the addressed mistake, re-checks the rules again.</p><p>PARSER reads a file of a task (in XML), saves a solution (both in XML and in graphical presentation) created by a Scholar, saves a task (both in XML and in graphical form) created by a Tutor, reads a file of rules for detecting mistakes.</p><p>Examples of tasks are written as XML documents with an XML schema, substantially extending developed in <ref type="bibr" target="#b5">[7]</ref> XML Schema with cardinalities, optionalities and generalizations. Additional XML Schema was developed for presentation of rules for detecting mistakes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Concluding Remarks</head><p>Understanding conceptual modeling plays an important role in building useful and extensible database systems. There are many tools facilitating the process of construction of conceptual models (e.g. Computer Associates ERWin Data Modeler, IBM Rational, a lot of others), but most of them just use correspondent notation (e.g. IDEF1X, Crow's Foot, UML etc.) and do not teach it. Tools facilitating the process of learning conceptual modeling are rare.</p><p>Taking classical ER notation as an example it is shown that there exist both syntactic and semantic misconceptions of the notation itself, blocking its proper usage and leading to serious problems in future database schema construction.</p><p>Chen Worlds system is currently oriented on teaching classical ER notation, however the principles of the system could be applied to other complex graphical notations, e.g. IDEF1X, UML Class diagrams, as the hardest part of their teaching is in preparation of sets of core syntactic (and in general, semantic) misconceptions.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Fig. 1 .</head><label>1</label><figDesc>Fig. 1. Some typical mistakes in ER diagrams: (a) -no primary key; (b) -single-valued primary key with multi-valued non-key attributes; (c) -usage of attribute values as attributes.</figDesc><graphic coords="2,124.50,477.72,348.66,103.32" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Fig. 2 .</head><label>2</label><figDesc>Fig. 2. Architecture of Chen Worlds system.</figDesc><graphic coords="5,136.08,161.70,325.08,111.30" type="bitmap" /></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">http://infolab.stanford.edu/~ullman/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1">http://www.gradiance.com/</note>
		</body>
		<back>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<monogr>
		<title level="m" type="main">Database Systems: the Complete Book</title>
		<author>
			<persName><forename type="first">H</forename><surname>Garsia-Molino</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">D</forename><surname>Ullman</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Widom</surname></persName>
		</author>
		<imprint>
			<date type="published" when="1203">1203. 2009</date>
			<publisher>Pearson Prentice Hall</publisher>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Motivation for Achievement in Mathematics: Findings, Generalizations, and Criticisms of the Research</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">A</forename><surname>Middleton</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">A</forename><surname>Spanias</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">J. Research in Mathematics Education</title>
		<imprint>
			<biblScope unit="volume">30</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="65" to="88" />
			<date type="published" when="1999">1999</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<monogr>
		<title level="m" type="main">Gradiance On-Line Accelerated Learning Guide for Authors</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">D</forename><surname>Ullman</surname></persName>
		</author>
		<ptr target="http://www.gradiance.com/downloads/auth-guide.pdf" />
		<imprint/>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<title/>
		<author>
			<persName><surname>Pictomir</surname></persName>
		</author>
		<ptr target="http://www.pictomir.ru" />
		<imprint/>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<monogr>
		<title/>
		<author>
			<persName><surname>Kumir</surname></persName>
		</author>
		<ptr target="http://www.niisi.ru/kumir" />
		<imprint/>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Mapping Rules for ER to XML Using XML schema</title>
		<author>
			<persName><forename type="first">S</forename><surname>Jin</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Kang</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. 10th Southern Association for Information Systems Conference</title>
				<meeting>10th Southern Association for Information Systems Conference<address><addrLine>Jacksonville, Florida, USA</addrLine></address></meeting>
		<imprint>
			<biblScope unit="page" from="9" to="10" />
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
