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

gSMat:一种可扩展的基于稀疏矩阵的连接SPARQL查询处理

gSMat: A Scalable Sparse Matrix-based Join for SPARQL Query Processing

Xiaowang Zhang, Mingyue Zhang, Peng Peng, Jiaming Song, Zhiyong Feng, Lei Zou

摘要:

资源描述框架(RDF)已被广泛用于表示Web上的信息,而SPARQL是操作RDF数据的标准查询语言。给定一个SPARQL查询,往往存在多个连接,这是查询处理效率的瓶颈。此外,真实的RDF数据集往往表现出较强的数据稀疏性,这表明即使资源总数很大,一个资源往往只与少数资源相关。在本文中,我们提出了一个稀疏矩阵为基础的(SM为基础的)SPARQL查询处理方法在RDF数据集,同时考虑到连接优化和数据稀疏性。首先,我们提出了一个基于SM的RDF数据存储,以提高存储效率,其中只存储有效的边缘,然后在存储上引入一个基于谓词的哈希索引。其次,我们开发了一个可扩展的SM为SPARQL查询处理的连接算法。最后,我们通过累加所有中间结果来分析总体开销,并设计了一个查询计划生成算法。此外,我们扩展了我们的SM为基础的连接算法在GPU上的并行SPARQL查询处理。我们已经评估了我们的方法相比,国家的最先进的RDF引擎在基准RDF数据集和实验结果表明,我们的建议可以显着提高SPARQL查询处理具有高可扩展性。

英文摘要:

Resource Description Framework (RDF) has been widely used to represent information on the web, while SPARQL is a standard query language to manipulate RDF data. Given a SPARQL query, there often exist many joins which are the bottlenecks of efficiency of query processing. Besides, the real RDF datasets often reveal strong data sparsity, which indicates that a resource often only relates to a few resources even the number of total resources is large. In this paper, we propose a sparse matrix-based (SM-based) SPARQL query processing approach over RDF datasets which con- siders both join optimization and data sparsity. Firstly, we present a SM-based storage for RDF datasets to lift the storage efficiency, where valid edges are stored only, and then introduce a predicate- based hash index on the storage. Secondly, we develop a scalable SM-based join algorithm for SPARQL query processing. Finally, we analyze the overall cost by accumulating all intermediate results and design a query plan generated algorithm. Besides, we extend our SM-based join algorithm on GPU for parallelizing SPARQL query processing. We have evaluated our approach compared with the state-of-the-art RDF engines over benchmark RDF datasets and the experimental results show that our proposal can significantly improve SPARQL query processing with high scalability.

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

↑