数据库范畴的匹配、归并与结构特性
Matching, Merging and Structural Properties of Data Base Category
摘要:
本文的主要贡献是调查的表现力的数据库类别DB。此类别中的对象是数据库实例(n元关系的集合)。态射不是函数,而是具有基于一组复杂查询计算的复杂树结构。它们表示数据库之间基于视图的映射的语义。数据库之间的更高(逻辑)级别的模式映射,通常用某种高表达性逻辑语言编写,可以在函数上转换为这种基本的“计算”DB类别。数据库的行为的观点是假设,与行为等价的数据库对应的同构的对象在DB类别。引入的观测,这是基于视图的计算,没有副作用,是基于(从泛代数)单子endofunctor T,这是封闭的对象和态射的操作。证明了DB是对称的(箭与物之间有一个双射)2-范畴,等价于它的对偶范畴、完备范畴和余完备范畴。在本文中,我们证明了DB是具体的,局部小和可重构的。此外,它是丰富了自己的monoidal对称范畴张量积匹配,并具有参数化的合并数据库操作。我们证明它是一个代数格,我们定义了一个数据库度量空间和一个子对象分类器:因此,DB范畴是一个monoidal基本拓扑。
英文摘要:
Main contribution of this paper is an investigation of expressive power of the database category DB. An object in this category is a database-instance (set of n-ary relations). Morphisms are not functions but have complex tree structures based on a set of complex query computations. They express the semantics of view-based mappings between databases. The higher (logical) level scheme mappings between databases, usually written in some high expressive logical language, may be functorially translated into this base "computation" DB category . The behavioral point of view for databases is assumed, with behavioural equivalence of databases corresponding to isomorphism of objects in DB category. The introduced observations, which are view-based computations without side-effects, are based (from Universal algebra) on monad endofunctor T, which is the closure operator for objects and for morphisms also. It was shown that DB is symmetric (with a bijection between arrows and objects) 2-category, equal to its dual, complete and cocomplete. In this paper we demonstrate that DB is concrete, locally small and finitely presentable. Moreover, it is enriched over itself monoidal symmetric category with a tensor products for matching, and has a parameterized merging database operation. We show that it is an algebraic lattice and we define a database metric space and a subobject classifier: thus, DB category is a monoidal elementary topos.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。