arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1310.4954cs.DBcs.DScs.IR
收藏

用于全内存RDF管理的压缩垂直分区

Compressed Vertical Partitioning for Full-In-Memory RDF Management

Sandra Álvarez-García, Nieves R. Brisaboa, Javier D. Fernández, Miguel A. Martínez-Prieto, Gonzalo Navarro

摘要:

Web of Data的发展势头越来越好,这导致越来越多的半结构化数据集遵循RDF模型,基于主语、谓语和宾语的原子三元组单元。虽然这是一个简单的模型,但压缩方法变得必要,因为数据集越来越大,并且围绕其组织和存储出现了各种可扩展性问题。这个要求在RDF存储中的限制性更强,因为还需要对压缩的RDF数据集进行有效的SPARQL解析。本文介绍了一种新的RDF索引技术(称为k2-triples),它支持在压缩空间中进行高效的SPARQL解析。k2-triples,使用谓词将数据集垂直划分为不相交的对(主语,宾语)子集,每个谓词一个。这些子集表示为二进制矩阵,其中1位表示数据集中存在相应的三元组。该模型导致非常稀疏的矩阵,使用k2树有效地压缩。我们用两个紧凑的索引来增强这个模型,其中列出了与每个不同的主体和客体相关的谓词,以解决垂直分区表示的特定弱点。由此产生的技术不仅实现了迄今为止最压缩的表示,而且在我们的实验中RDF检索的最佳整体性能。我们的方法使用的空间比最先进的基线少10倍,并且在最基本的查询模式上的性能优于其性能几个数量级。此外,我们优化了传统的连接算法上的k2-三元组,并定义了一个新的利用其特定的功能。我们的实验结果表明,我们的技术克服了传统的垂直分区连接分辨率,报告的最佳数量的加入,其中提供的非加入节点,并在大多数情况下具有竞争力。

英文摘要:

The Web of Data has been gaining momentum and this leads to increasingly publish more semi-structured datasets following the RDF model, based on atomic triple units of subject, predicate, and object. Although it is a simple model, compression methods become necessary because datasets are increasingly larger and various scalability issues arise around their organization and storage. This requirement is more restrictive in RDF stores because efficient SPARQL resolution on the compressed RDF datasets is also required. This article introduces a novel RDF indexing technique (called k2-triples) supporting efficient SPARQL resolution in compressed space. k2-triples, uses the predicate to vertically partition the dataset into disjoint subsets of pairs (subject, object), one per predicate. These subsets are represented as binary matrices in which 1-bits mean that the corresponding triple exists in the dataset. This model results in very sparse matrices, which are efficiently compressed using k2-trees. We enhance this model with two compact indexes listing the predicates related to each different subject and object, in order to address the specific weaknesses of vertically partitioned representations. The resulting technique not only achieves by far the most compressed representations, but also the best overall performance for RDF retrieval in our experiments. Our approach uses up to 10 times less space than a state of the art baseline, and outperforms its performance by several order of magnitude on the most basic query patterns. In addition, we optimize traditional join algorithms on k2-triples and define a novel one leveraging its specific features. Our experimental results show that our technique overcomes traditional vertical partitioning for join resolution, reporting the best numbers for joins in which the non-joined nodes are provided, and being competitive in the majority of the cases.

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

↑