4.2. Discussion
Concept families are introduced in the adaptive data
model to allow software systems to model more closely
the end user's own mental concepts. A hallmark of mental
concepts is that they can be rather flexible and change
over time and from one situation to the next. The intention
is that the concepts stored in a soft schema can also
change, without causing problems for information systems
which use the database.
1 The term “domain” is used here to mean the set of values which a
given data item can hold. Elsewhere in the paper “domain” is used in the
sense of “application domain”.
44 S. McGinnes, E. Kapros / Information Systems 47 (2015) 33–50
The intention behind the use of the word “soft” in “soft
schema” is to signify that the concept definitions are
held as data rather than as structure, as far as the
application is concerned (in contrast with class and table
definitions, which generally appear as structure rather
than data, from the perspective of the application program).
The word “soft” is also a reminder that changes to
the schema do not have unpleasant consequences such
as system failure or the need for software maintenance
work.
The set of archetypal categories A should be decided
upon before soft schemas are formulated. The contents of
A are not prescriptive; our prototype implementations
have used the simple set of categories in Table 2, but
different and more complex sets may be used. Elements of
A could be related to one another to form a conceptual
model, taxonomy, or ontology, if desired. The only requirement
is that the members of A be generic enough to apply
across schemas and that they can be assigned distinctive
behaviour; otherwise the usefulness of the AIS will be
unduly restricted. Advances in knowledge of cognition and
the mental manipulation of concepts, and practical experience
with AIS, could lead to improved sets of archetypal
categories.
4.3. Other aspects of adaptive data model
In broad terms, the adaptive data model retains other
aspects of the relational model, including referential
integrity, normalisation, relational operations, and so on.
However, we substitute the use of relations in these
contexts with the use of concept families. Queries and
other operations may be applied as usual, but using the
domain superset D0 and the extension E0 of each concept
family F (columns and rows, in the conventional tabular
representation).
A key difference in the adaptive data model from
mainstream relational database implementations is that
certain domains in D0 may not be present in each tuple of
E0
. In a typical relational database, it is guaranteed that
every domain of a relation will be present in each tuple,
except where null values are stored. In the adaptive data
model, it cannot be guaranteed that any given domain will
exist in any given tuple. Operations on the data must
take this difference into account, by treating the missing
domain values as “missing inapplicable” data [54]. Thus, a
projection operation may return results of three types in
any given domain of D0
: data values, missing (applicable)
markers, and missing (inapplicable) markers; this is Codd's
“four-valued logic” [55]. A similar principle must be
applied to both types of missing data in selection and join
operations.
Although the relational model draws a distinction
between applicable and inapplicable missing data [51],
most RDBMS do not; only one mechanism is used (null
values) to represent both types of missing data. On the
other hand, column-family and document databases explicitly
allow for missing inapplicable data, although they use
different terminology [31].
As in relational theory, the adaptive data model
requires that no two tuples should represent the same
entity. For example, if a tuple of employee represents a
particular employee, no other tuple of employee, or of any
other concept, should represent the same employee;
otherwise, confusion could result as to the meaning of
the data. However, it is not always clear what constitutes a
particular thing in the real world, and present-day information
systems do not (in any meaningful sense) understand
the real-world things that particular data items refer
to. Therefore this condition can at present be determined
only by the end user and cannot be enforced by the
system [45].
The relational model is built on the use of domains.
However, most database systems provide only limited
support for domains, chiefly through a small number of
built-in data types (integer, float, date/time, Boolean, etc.).
User-defined extended data types are available but seldom
used. The implementation of domains in an AIS offers
great potential for software reuse, since the functionality
applicable to any given domain can be applied automatically
each time the domain is referenced. An AIS should
therefore provide a range of predefined atomic and composite
domains (data types) intended to be useful in
modelling. Examples include address, zipcode, geographical
location, month, gender, salutation, duration, document
path, URL, email address, full name, money, and percentage.
The meaning of each type is known to the AIS, so that
appropriate formatting, validation, and extended behaviour
can be provided automatically when the type is
encountered in a soft schema.
4.2 . ครอบครัวแนวคิดอภิปราย
จะแนะนำในรูปแบบข้อมูลเพื่อให้ระบบซอฟต์แวร์แบบ
แบบอย่างใกล้ชิดมากขึ้น ผู้ใช้เอง จิตใจ ความคิด จุดเด่นของแนวคิดจิต
คือว่าพวกเขาสามารถมีความยืดหยุ่นมากกว่าและเปลี่ยน
ตลอดเวลา และจากสถานการณ์หนึ่งไปยังถัดไป ความตั้งใจ
คือว่า แนวคิดเก็บไว้ใน schema นุ่มสามารถ
เปลี่ยนโดยไม่ก่อให้เกิดปัญหาในระบบข้อมูลที่ใช้ฐานข้อมูล
.
1 คำว่า " โดเมน " ถูกนำมาใช้เพื่อหมายถึงชุดของค่าซึ่ง
ให้รายการข้อมูลที่สามารถถือ ที่อื่น ๆในกระดาษ " โดเมน " ถูกใช้ในความรู้สึกของการใช้ " โดเมน "
.
0 S . mcginnes e . kapros / ระบบสารสนเทศ 47 ( 2015 ) 33 – 50
ความตั้งใจที่อยู่เบื้องหลังการใช้คําว่า " อ่อน " ใน " อ่อน
รายการ " เพื่อบ่งบอกว่า แนวคิดความหมายคือ
จัดขึ้นเป็นข้อมูลแทนที่จะเป็นโครงสร้างเท่าที่
ใบสมัครเป็นกังวล ( ในทางตรงกันข้ามกับห้องและโต๊ะ
ความหมาย ซึ่งโดยทั่วไปจะปรากฏเป็นโครงสร้างค่อนข้าง
มากกว่าข้อมูลจากมุมมองของโปรแกรม )
" นิ่ม " เป็นยัง เตือนว่า การเปลี่ยนแปลง
schema ไม่มีไม่เป็นผล เช่น
เป็นความล้มเหลวของระบบ หรือต้องการทำงาน
การบำรุงรักษาซอฟต์แวร์ ชุดเทพประเภทควรจะตัดสินใจ
เมื่อก่อนที่ร่างนุ่มเป็นสูตร . เนื้อหา : ไม่ได้กําหนด ; ต้นแบบของเราดำเนินงาน
ได้ใช้ชุดง่ายของประเภทในรางที่ 2 แต่
แตกต่างกันและมากกว่าชุดซับซ้อน อาจใช้ องค์ประกอบของการอาจจะเกี่ยวข้องกับอีกคนหนึ่งในรูปแบบแบบจำลอง
,อนุกรมวิธานหรือภววิทยา , ถ้าต้องการ
ความต้องการเพียงอย่างเดียวคือสมาชิกของทั่วไปพอที่จะใช้
ข้ามร่างและพวกเขาสามารถกำหนดพฤติกรรมที่โดดเด่น
; มิฉะนั้น ประโยชน์ของเอไอเอสจะ
มิชอบจำกัด ความก้าวหน้าในความรู้ความเข้าใจและ
จัดการจิตของแนวคิด และประสบการณ์จริง
กับเอไอเอส สามารถนำไปสู่การปรับปรุงชุดเทพ
ประเภท
4.3 . ด้านอื่น ๆของแบบจำลองข้อมูลแบบ
ในแง่ที่กว้าง และมีด้านอื่น ๆปรับรูปแบบ
ของโมเดลเชิงสัมพันธ์ รวมถึงการฟื้นฟูความสัมพันธ์ไปด้วย
, , ปฏิบัติการ , และอื่น ๆ .
แต่เราทดแทนการใช้ความสัมพันธ์ในบริบทเหล่านี้
ด้วยการใช้แนวคิดครอบครัว การค้นหาและการดำเนินงานอื่น ๆที่อาจใช้
แต่ใช้ตามปกติพลังงานขึ้นโดเมนและขยายแนวคิดของแต่ละครอบครัว E0
F ( แถว คอลัมน์ และในการแสดงตารางปกติ
) คีย์ข้อมูลปรับความแตกต่างในรูปแบบจากฐานข้อมูลเชิงสัมพันธ์ซึ่งเป็นหลัก
บางโดเมนในพลังงานอาจไม่เป็นปัจจุบันในแต่ละทูเปิลของ E0
ในฐานข้อมูลเชิงสัมพันธ์โดยทั่วไปจะรับประกันว่า
ทุกโดเมนของความสัมพันธ์จะถูกนำเสนอในแต่ละทูเปิล , ค่า null
ยกเว้นที่จัดเก็บ ในข้อมูล
ทฤษฎีการปรับตัว มันไม่สามารถรับประกันได้ว่า จะให้โดเมนใด ๆ
อยู่ในทูเปิล . การดำเนินการกับข้อมูลต้อง
เอาความแตกต่างนี้ลงในบัญชี โดยรักษาหาย
โดเมนค่าเป็น " หายไปไม่เหมาะสม " ข้อมูล [ 54 ] ดังนั้น ,
การประมาณการอาจส่งคืนผลลัพธ์ของในใด ๆของโดเมน
+
3 ประเภท ได้แก่ ค่าข้อมูลที่ขาดหายไป ( ใช้ )
เครื่องหมาย และหายไป ( ไม่เหมาะสม ) เครื่องหมาย ; นี้เป็นคอดของ
" สี่มูลค่าตรรกะ " [ 55 ] หลักการที่คล้ายกันต้อง
ใช้กับทั้งสองประเภทของข้อมูลที่หายไปในการคัดเลือกและเข้าร่วมงาน
.
ถึงแม้ว่าความสัมพันธ์แบบดึงความแตกต่าง
ระหว่างที่ใช้ไม่เหมาะสมและข้อมูลที่หายไป [ 51 ] ,
รูปส่วนใหญ่ไม่ได้ เดียวคือกลไกที่ใช้ ( null
ค่า ) เป็นตัวแทนของทั้งสองประเภทของข้อมูลที่หายไป บนมืออื่น ๆที่
ครอบครัวและเอกสารฐานข้อมูลอย่างชัดเจน
ให้หายไปข้อมูลไม่เหมาะสมคอลัมน์ , แม้ว่าพวกเขาจะใช้ศัพท์แตกต่างกัน
[ 31 ] .
ในทฤษฎีความสัมพันธ์ รูปแบบข้อมูลแบบ
ต้องการที่ไม่มีสองที่มีควรเป็นตัวแทนของนิติบุคคลเดียวกัน
ตัวอย่างเช่น ถ้าเป็นทูเปิลของพนักงานหมายถึงพนักงานโดยเฉพาะ
ไม่มี tuple อื่น ๆของพนักงานหรือของอื่นใด
แนวคิดควรเป็นตัวแทนของพนักงานเดียวกัน ;
ไม่งั้นสับสนอาจส่งผลให้ความหมายของ
ข้อมูล อย่างไรก็ตาม มันไม่ได้ชัดเจนเสมอสิ่งที่ถือเป็น
สิ่งใดในโลกจริงและระบบข้อมูล
ปัจจุบันไม่ได้ ( ในความรู้สึกที่มีความหมายใด ๆ ) ซึ่งสิ่งที่เข้าใจ
รายการข้อมูลเฉพาะดูครับ ดังนั้นเงื่อนไขนี้สามารถปัจจุบันถูกกำหนด
เท่านั้นโดยผู้ใช้และไม่สามารถบังคับใช้โดยระบบ [ 45 ]
.
โมเดลเชิงสัมพันธ์ที่สร้างขึ้นในการใช้โดเมน .
แต่ระบบฐานข้อมูลส่วนใหญ่ให้สนับสนุนเพียงจำกัด
สำหรับโดเมนส่วนใหญ่ผ่านจำนวนเล็ก ๆของ
ชนิดข้อมูลในตัว ( จำนวนเต็ม , ลอย , วันที่ / เวลา , ตรรกะ , ฯลฯ ) ผู้ใช้กำหนดชนิดข้อมูลเป็นแบบ
ใช้ได้ แต่ไม่ค่อยได้ใช้ การดำเนินงานของโดเมนใน เอไอเอส มีศักยภาพที่ดีสำหรับการนำซอฟต์แวร์
โดยเฉพาะ เนื่องจากฟังก์ชันใด ๆโดเมนสามารถใช้โดยอัตโนมัติ
เวลาแต่ละโดเมนเป็นอ้างอิง . ที่เอไอเอสควร
ดังนั้น ให้ช่วงของอะตอมที่กำหนดไว้ล่วงหน้าและคอมโพสิต
โดเมน ( ชนิดข้อมูล ) จะเป็นประโยชน์ใน
การสร้างแบบจำลอง ตัวอย่างรวมถึงที่อยู่ รหัสไปรษณีย์ที่ตั้งทางภูมิศาสตร์
, เดือน , เพศ , คำทักทาย , ระยะเวลา , เอกสาร
เส้นทาง URL , อีเมล์ , ชื่อ , เงิน , และร้อยละ .
ความหมายของแต่ละประเภทว่า เอไอเอส ดังนั้น
เหมาะสมการจัดรูปแบบ , การตรวจสอบและขยายพฤติกรรม
ที่สามารถให้โดยอัตโนมัติเมื่อพิมพ์
พบใน schema ที่อ่อนนุ่มเนื่องจากสมาชิกใด ๆ แนวคิดของ F อาจ
ละเว้นโดเมนเลือกเพื่อรวมไว้ในคีย์หลัก .
แทน เราใช้ตัวแทนคีย์หลัก ยึดจากลำดับเดียว
สำหรับ AIS ใช้งาน [ 52 ] นี้รับประกัน
เอกลักษณ์ แม้ว่าแนวคิดจะรวมสองครอบครัวที่
ขั้นตอนบางอย่าง . มันหมายถึงความสมบูรณ์ของ referential สามารถ
รักษา ไม่ว่าการเปลี่ยนแปลงแนวคิด
การแปล กรุณารอสักครู่..
