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.
翻译:在本文中,我们争论说,在大多数设定方向的数据模型中,以宏扬的属性代表实体属性,这是一种有争议的方法,与极不易变的原则相冲突,一方面,作为解决极不易变问题的原则性解决办法,另一方面,我们提议使用数学功能代表实体属性。在这种方法中,不可变的图例旨在代表实体的存在,而对于代表实体属性则使用可变功能(各组之间的图纸)。在这个模型中,称为概念导向模型(COM),功能与组合一起成为头等元素,两种功能和组合都用来代表和处理数据,与纯粹设定方向模型相比,更简单、更自然地使用。