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

良好设计的SPARQL模型的有效逼近

Efficient Approximation of Well-Designed SPARQL Queries

Zhenyu Song, Zhiyong Feng, Xiaowang Zhang, Xin Wang, Guozheng Rao

摘要:

查询响应时间常常影响现实世界中的用户体验。然而,它可能需要更多的时间来回答一个查询的所有精确解,特别是当它包含OPT操作,因为OPT操作是SPARQL中最不传统的操作。因此,在查询响应时间和其解决方案的准确性之间进行权衡变得至关重要。本文基于查询中OPT操作的深度,提出了一种利用较少的OPT操作深度来获得其所有近似查询的方法。本文主要讨论那些设计良好的查询模式,因为OPT操作在一个设计良好的模式是真正的“可选”。首先,将一个OPT范式模式转换成一棵树,树的内部节点用OPT操作标记,叶子节点用包含AND操作和FILTER操作的模式标记。其次,基于这个精心设计的树,我们删除了“可选”精心设计的子树与OPT操作的深度较小,然后获得近似查询与不同深度的OPT操作。最后,我们评估近似查询效率的近似度。

英文摘要:

Query response time often influences user experience in the real world. However, it possibly takes more time to answer a query with its all exact solutions, especially when it contains the OPT operations since the OPT operation is the least conventional operator in SPARQL. So it becomes essential to make a trade-off between the query response time and the accuracy of their solutions. In this paper, based on the depth of the OPT operation occurring in a query, we propose an approach to obtain its all approximate queries with less depth of the OPT operation. This paper mainly discusses those queries with well-designed patterns since the OPT operation in a well-designed pattern is really "optional". Firstly, we transform a well-designed pattern in OPT normal form into a well-designed tree, whose inner nodes are labeled by OPT operation and leaf nodes are labeled by patterns containing other operations such as the AND operation and the FILTER operation. Secondly, based on this well-designed tree, we remove "optional" well-designed subtrees with less depth of the OPT operation and then obtain approximate queries with different depths of the OPT operation. Finally, we evaluate the approximate query efficiency with the degree of approximation.

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

↑