arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.07062cs.DB
收藏

关系数据库中属性图查询语言的表现力

On the Expressiveness of Languages for Querying Property Graphs in Relational Databases

School of Computer Science, Hebrew University(希伯来大学计算机科学学院)

Hadar Rotschield, Liat Peterfreund

AI总结:

本文形式化 SQL/PGQ 三个片段的表现力,证明图创建决定表现力,扩展视图定义后恰好捕获 NL,形成严格层级,并在有序结构上崩溃。

摘要:

SQL/PGQ 是新兴的 ISO 标准,用于查询定义为关系数据视图的属性图。我们对其三个片段的表现力进行了形式化:只读核心、读写扩展以及具有更丰富视图定义的扩展变体。我们的结果表明,图的创建在决定表现力方面起着核心作用。只读片段严格弱于读写片段,而后者仍低于复杂度类 NL。用任意元数标识符扩展视图定义弥补了这一差距:扩展片段恰好捕获 NL。这产生了 SQL/PGQ 片段的严格层级,其并集覆盖所有 NL 查询。在有序结构上,该层级崩溃:一旦允许元数-2 标识符,更高的元数不增加任何能力,这反映了经典的传递闭包崩溃,并强调了视图构造在属性图查询中的核心作用。

英文摘要:

SQL/PGQ is the emerging ISO standard for querying property graphs defined as views over relational data. We formalize its expressive power across three fragments: the read-only core, the read-write extension, and an extended variant with richer view definitions. Our results show that graph creation plays a central role in determining the expressiveness. The read-only fragment is strictly weaker than the read-write fragment, and the latter is still below the complexity class NL. Extending view definitions with arbitrary arity identifiers closes this gap: the extended fragment captures exactly NL. This yields a strict hierarchy of SQL/PGQ fragments, whose union covers all NL queries. On ordered structures the hierarchy collapses: once arity-2 identifiers are allowed, higher arities add no power, mirroring the classical transitive-closure collapse and underscoring the central role of view construction in property graph querying.

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

↑