Distributed RDF systems partition data across multiple computer nodes (workers). Some systems perform cheap hash partitioning, which may result in expensive query evaluation, while others apply heuristics aiming at minimizing inter-node communication during query evaluation. This requires an expensive data preprocessing phase, leading to high startup costs for very large RDF knowledge bases. Apriori knowledge of the query workload has also been used to create partitions, which however are static and do not adapt to workload changes; hence, inter-node communication cannot be consistently avoided for queries that are not favored by the initial data partitioning.
In this paper, we propose AdHash, a distributed RDF system, which addresses the shortcomings of previous work. First, AdHash applies lightweight partitioning on the initial data, that distributes triples by hashing on their subjects; this renders its startup overhead low. At the same time, the locality-aware query optimizer of AdHash takes full advantage of the partitioning to (i)support the fully parallel processing of join patterns on subjects and (ii) minimize data communication for general queries by applying hash distribution of intermediate results instead of broadcasting, wherever possible. Second, AdHash monitors the data access patterns and dynamically redistributes and replicates the instances of the most frequent ones among workers. As a result, the communication cost for future queries is drastically reduced or even eliminated. To control replication, AdHash implements an eviction policy for the redistributed patterns. Our experiments with synthetic and real data verify that AdHash (i) starts faster than all existing systems, (ii) processes thousands of queries before other systems become online, and (iii) gracefully adapts to the query load, being able to evaluate queries on billion-scale RDF data in sub-seconds.
Compressed Vertical Partitioning for Full-In-Memory RDF Management
Web of Data的发展势头越来越好,这导致越来越多的半结构化数据集遵循RDF模型,基于主语、谓语和宾语的原子三元组单元。虽然这是一个简单的模型,但压缩方法变得必要,因为数据集越来越大,并且围绕其组织和存储出现了各种可扩展性问题。这个要求在RDF存储中的限制性更强,因为还需要对压缩的RDF数据集进行有效的SPARQL解析。本文介绍了一种新的RDF索引技术(称为k2-triples),它支持在压缩空间中进行高效的SPARQL解析。k2-triples,使用谓词将数据集垂直划分为不相交的对(主语,宾语)子集,每个谓词一个。这些子集表示为二进制矩阵,其中1位表示数据集中存在相应的三元组。该模型导致非常稀疏的矩阵,使用k2树有效地压缩。我们用两个紧凑的索引来增强这个模型,其中列出了与每个不同的主体和客体相关的谓词,以解决垂直分区表示的特定弱点。由此产生的技术不仅实现了迄今为止最压缩的表示,而且在我们的实验中RDF检索的最佳整体性能。我们的方法使用的空间比最先进的基线少10倍,并且在最基本的查询模式上的性能优于其性能几个数量级。此外,我们优化了传统的连接算法上的k2-三元组,并定义了一个新的利用其特定的功能。我们的实验结果表明,我们的技术克服了传统的垂直分区连接分辨率,报告的最佳数量的加入,其中提供的非加入节点,并在大多数情况下具有竞争力。
Compressed k2-Triples for Full-In-Memory RDF Engines
当前的“数据洪流”已经用非常大的RDF数据集淹没了Web of Data。它们通过SPARQL端点托管和查询,SPARQL端点充当基于关联数据项目原则构建的语义网络的节点。尽管这是全局数据发布的现实哲学,但当RDF引擎(在端点后面)管理这些巨大的数据集时,其查询性能会降低。它们的索引不能完全加载到主存中,因此这些系统需要执行缓慢的磁盘访问来解决SPARQL查询。本文通过一种紧凑的索引RDF结构(称为k2-triples)来解决这个问题,该结构将紧凑的k2-树结构应用于众所周知的垂直划分技术。它获得了大型RDF图的超压缩表示,并允许SPARQL查询在内存中完全执行而无需解压缩。我们表明,k2-三元组明显优于国家的最先进的压缩性和传统的垂直分区查询分辨率,保持非常有竞争力的多索引解决方案。
Searching and Establishment of S-P-O Relationships for Linked RDF Graphs : An Adaptive Approach
在即将到来的语义Web时代,链接数据分析是一个非常紧迫的问题,有效的搜索和检索的信息。建立这种联系的一种方法是通过集合论方法实现主语、谓语、宾语关系,这在我们以前的工作中已经完成。为了分析两个RDF图之间的相互关系,还需要考虑RDF模式(RDFS).本文提出了一种基于自适应组合规则的S P O关系建立和RDF图搜索框架。因此,RDF图之间相互关系的判定为语义搜索开辟了一条新的道路。
RDF以其灵活、通用的类图数据模型成为语义数据发布的主流。然而,RDF数据汇集的规模不断增加,使得在一台机器上存储和处理它们变得越来越不可行,从而提高了对分布式方法的需求。我们不构建独立但封闭的分布式RDF存储,而是支持使用现有的基础设施进行大数据处理,例如Hadoop。然而,SPARQL查询性能是一个主要的挑战,因为这些平台不是为地面RDF处理而设计的。因此,现有的基于Hadoop的方法通常倾向于某些查询模式形状,而其他形状的性能显着下降。在本文中,我们描述了一种新的RDF数据的关系分区模式称为ExtVP,使用半连接为基础的预处理,类似于连接索引的概念,在关系数据库,有效地减少查询输入的大小,无论其模式的形状和直径。我们的原型系统S2RDF构建在Spark之上,并使用其关系接口在ExtVP上执行SPARQL查询。我们使用最近的WatDiv测试套件,与最先进的SPARQL on Hadoop方法相比,展示了其卓越的性能。S2RDF在十亿个三元组RDF图上实现了大多数查询的次秒运行时间。