论文标题
关于功能在数据建模中的重要性
On the importance of functions in data modeling
论文作者
论文摘要
在本文中,我们认为,在大多数面向设定的数据模型中宣扬的元组属性代表实体属性是一种与元组不可分解的原理相抵触的有争议的方法。作为解决此元组不变性问题的原则性解决方案,另一方面需要修改元组属性,我们建议使用数学功能来表示实体属性。在这种方法中,不变的元素旨在表示实体的存在,而可变函数(集合之间的映射)用于表示实体属性。在此模型中,称为面向概念的模型(COM),与集合一起制作了一流的元素,并且两个功能和集合都用来以更简单,更自然的方式来表示和处理数据,与纯粹的设置模型相比。
In this paper we argue that representing entity properties by tuple attributes, as evangelized in most set-oriented data models, is a controversial method conflicting with the principle of tuple immutability. As a principled solution to this problem of tuple immutability on one hand and the need to modify tuple attributes on the other hand, we propose to use mathematical functions for representing entity properties. In this approach, immutable tuples are intended for representing the existence of entities while mutable functions (mappings between sets) are used for representing entity properties. In this model, called the concept-oriented model (COM), functions are made first-class elements along with sets, and both functions and sets are used to represent and process data in a simpler and more natural way in comparison to purely set-oriented models.