arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2109.00929cs.DB
收藏

MultiCategory:多模型查询处理与范畴论和函数式编程的结合

MultiCategory: Multi-model Query Processing Meets Category Theory and Functional Programming

Valter Uotila, Jiaheng Lu, Dieter Gawlick, Zhen Hua Liu, Souripriya Das, Gregory Pogossiants

摘要:

数据的多样性是大数据时代的重要问题之一。数据自然地以不同的格式和模型组织,包括结构化数据、半结构化数据和非结构化数据。先前的研究设想了一种方法,抽象多模型数据与模式类别和实例类别,通过使用范畴理论。在本文中,我们展示了一个系统,称为MultiCategory,它处理多模型查询的基础上的范畴理论和函数式编程。本演示围绕四个主要场景来展示一个有形的系统。首先,我们将展示如何通过加载不同的数据模型(包括关系数据、XML数据、键值数据和图形数据)来构建模式类别和实例类别。其次,我们展示了一些使用函数式程序设计语言Haskell进行查询处理的示例。第三,我们演示了同一输入查询的不同数据模型的灵活输出。第四,为了更好地理解查询背后的类别理论结构,我们提供了各种图形钩子来探索和可视化查询作为关于模式类别的图形,以及Haskell的查询处理过程。

英文摘要:

The variety of data is one of the important issues in the era of Big Data. The data are naturally organized in different formats and models, including structured data, semi-structured data, and unstructured data. Prior research has envisioned an approach to abstract multi-model data with a schema category and an instance category by using category theory. In this paper, we demonstrate a system, called MultiCategory, which processes multi-model queries based on category theory and functional programming. This demo is centered around four main scenarios to show a tangible system. First, we show how to build a schema category and an instance category by loading different models of data, including relational, XML, key-value, and graph data. Second, we show a few examples of query processing by using the functional programming language Haskell. Third, we demo the flexible outputs with different models of data for the same input query. Fourth, to better understand the category theoretical structure behind the queries, we offer a variety of graphical hooks to explore and visualize queries as graphs with respect to the schema category, as well as the query processing procedure with Haskell.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑