Graph Data Model and Graph Query Language Based on the Monadic Second-Order Logic

IF 7.5 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS
Yunkai Lou;Chaokun Wang;Songyao Wang
{"title":"Graph Data Model and Graph Query Language Based on the Monadic Second-Order Logic","authors":"Yunkai Lou;Chaokun Wang;Songyao Wang","doi":"10.1109/TBDATA.2024.3455172","DOIUrl":null,"url":null,"abstract":"With the wide application of graphs in various fields, graph query languages have attracted more and more attention. Existing graph query languages, such as GraphQL and SoQL, mostly have similar expressive power as the first-order logic or its extended versions, and are limited when used to express various queries. In this paper, since the graph data model is the base of the graph query language, we propose a new graph data model with the expressive power of monadic second-order logic (abbr. MSOL), and then present a more expressive SQL-like declarative graph query language named <inline-formula><tex-math>$SOGQL$</tex-math></inline-formula> to support more common queries efficiently. Specifically, a new graph calculus is first proposed based on MSOL for attributed graphs. Then, the new graph data model is proposed. Its graph algebra, which operates on graph sets, has seven fundamental operators such as union, filter, map, and reduce. Next, the graph query language <inline-formula><tex-math>$SOGQL$</tex-math></inline-formula> is proposed based on the graph data model. Since the graph algebra has the same expressive power as the graph calculus, <inline-formula><tex-math>$SOGQL$</tex-math></inline-formula> has the expressive power of MSOL, and can express queries with constraints on subgraphs. Moreover, applied with <inline-formula><tex-math>$SOGQL$</tex-math></inline-formula>, a prototype system named <inline-formula><tex-math>$SOGDB$</tex-math></inline-formula> is implemented. <inline-formula><tex-math>$SOGDB$</tex-math></inline-formula> is applied with <inline-formula><tex-math>$SOGQL$</tex-math></inline-formula>, and the experimental results show its efficiency.","PeriodicalId":13106,"journal":{"name":"IEEE Transactions on Big Data","volume":"11 3","pages":"1381-1396"},"PeriodicalIF":7.5000,"publicationDate":"2024-09-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Big Data","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10666265/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

With the wide application of graphs in various fields, graph query languages have attracted more and more attention. Existing graph query languages, such as GraphQL and SoQL, mostly have similar expressive power as the first-order logic or its extended versions, and are limited when used to express various queries. In this paper, since the graph data model is the base of the graph query language, we propose a new graph data model with the expressive power of monadic second-order logic (abbr. MSOL), and then present a more expressive SQL-like declarative graph query language named $SOGQL$ to support more common queries efficiently. Specifically, a new graph calculus is first proposed based on MSOL for attributed graphs. Then, the new graph data model is proposed. Its graph algebra, which operates on graph sets, has seven fundamental operators such as union, filter, map, and reduce. Next, the graph query language $SOGQL$ is proposed based on the graph data model. Since the graph algebra has the same expressive power as the graph calculus, $SOGQL$ has the expressive power of MSOL, and can express queries with constraints on subgraphs. Moreover, applied with $SOGQL$, a prototype system named $SOGDB$ is implemented. $SOGDB$ is applied with $SOGQL$, and the experimental results show its efficiency.
基于一元二阶逻辑的图数据模型与图查询语言
随着图在各个领域的广泛应用,图查询语言越来越受到人们的关注。现有的图查询语言,如GraphQL和SoQL,大多具有与一阶逻辑或其扩展版本相似的表达能力,并且在用于表达各种查询时受到限制。鉴于图数据模型是图查询语言的基础,本文提出了一种具有一元二阶逻辑表达能力的新图数据模型,并提出了一种表达能力更强的类似sql的声明式图查询语言$SOGQL$,以有效地支持更常见的查询。在此基础上,首次提出了一种基于MSOL的属性图演算方法。然后,提出了新的图数据模型。它的图代数在图集上操作,有七个基本算子,如并、过滤、映射和约简。其次,基于图数据模型,提出了图查询语言$SOGQL$。由于图代数与图演算具有相同的表达能力,因此$SOGQL$具有MSOL的表达能力,可以在子图上表达带有约束的查询。并应用$SOGQL$实现了一个名为$SOGDB$的原型系统。将$SOGDB$与$SOGQL$结合使用,实验结果表明了其有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
11.80
自引率
2.80%
发文量
114
期刊介绍: The IEEE Transactions on Big Data publishes peer-reviewed articles focusing on big data. These articles present innovative research ideas and application results across disciplines, including novel theories, algorithms, and applications. Research areas cover a wide range, such as big data analytics, visualization, curation, management, semantics, infrastructure, standards, performance analysis, intelligence extraction, scientific discovery, security, privacy, and legal issues specific to big data. The journal also prioritizes applications of big data in fields generating massive datasets.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信