arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.10272cs.DB
收藏

动态链接数据图上的连续基本图模式评估

Evaluating Continuous Basic Graph Patterns over Dynamic Link Data Graphs

Manolis Gergatsoulis, Matthew Damigos

AI总结:

针对动态关联数据图上的基本图模式(BGP)查询持续评估问题,提出基于查询分解的内存算法,在多项式复杂度下计算增量应答,部分子类可达常数/线性复杂度,可高效维护任意时刻的完整查询结果。

摘要:

本文研究了在动态Linked Data图(即持续更新的关联数据图)上评估Basic Graph Patterns(简称BGP,SPARQL查询的一个子类)的问题。我们考虑的场景是更新通过消息流持续接收,同时支持三元组的插入和删除(更新可直接作为删除和插入的组合处理)。在此场景下,我们提出了一组内存算法,通过最小化缓存数据来高效、持续地应答BGP查询。这类查询通常提交至系统后,在处理更新消息的过程中会持续产生增量应答结果。\n为了在流数据上高效且持续地评估已提交的查询,同时最小化缓存数据量,我们提出了一种方法:将已提交的查询分解为更简单的子查询,通过组合各子查询的中间结果完成查询评估。采用该方法,所提出的算法可在多项式时间和空间复杂度下计算BGP查询的增量应答。值得注意的是,对于BGP查询的某些子类,我们证明其评估可在常数或线性时间与空间复杂度下完成。通过整合所有历史增量应答结果,这些算法能够确保在任意给定时间都能构建出每个查询的完整答案。

英文摘要:

In this paper, we investigate the problem of evaluating Basic Graph Patterns (BGP, for short, a subclass of SPARQL queries) over dynamic Linked Data graphs; i.e., Linked Data graphs that are continuously updated. We consider a setting where the updates are continuously received through a stream of messages and support both insertions and deletions of triples (updates are straightforwardly handled as a combination of deletions and insertions). In this context, we propose a set of in-memory algorithms minimizing the cached data to efficiently and continuously answer BGP queries. The queries are typically submitted into a system and continuously result in the delta answers while the update messages are processed. To efficiently and continuously evaluate the submitted query over the streaming data, as well as to minimize the amount of cached data, we propose an approach where the submitted query is decomposed into simpler subqueries and the query evaluation is achieved by combining the intermediate answers of the subqueries. Using this approach, the proposed algorithms compute the delta answers of a BGP query in polynomial time and space. Note that for certain subclasses of BGP queries, we show that the evaluation can be achieved in constant or linear time and space. Consolidating all the historical delta answers, the algorithms ensure that the answer to each query is constructed at any given time.

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

↑