arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.09045cs.CLcs.DBcs.PL
收藏

Taming the Expressiveness and Programmability of Graph Analytical Queries

University of Technology, Sydney(悉尼科技大学);Alibaba Group(阿里巴巴集团);The University of New South Wales(新南威尔士大学);East China Normal University(华东师范大学)

Lu Qin, Longbin Lai, Kongzhang Hao, Zhongxin Zhou, Yiwei Zhao, Yuxing Han, Xuemin Lin, Zhengping Qian, Jingren Zhou

英文摘要:

Graph database has enjoyed a boom in the last decade, and graph queries accordingly gain a lot of attentions from both the academia and industry. We focus on analytical queries in this paper. While analyzing existing domain-specific languages (DSLs) for analytical queries regarding the perspectives of completeness, expressiveness and programmability, we find out that none of existing work has achieved a satisfactory coverage of these perspectives. Motivated by this, we propose the \flash DSL, which is named after the three primitive operators Filter, LocAl and PuSH. We prove that \flash is Turing complete (completeness), and show that it achieves both good expressiveness and programmability for analytical queries. We provide an implementation of \flash based on code generation, and compare it with native C++ codes and existing DSL using representative queries. The experiment results demonstrate \flash's expressiveness, and its capability of programming complex algorithms that achieve satisfactory runtime.

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

↑