Skip to main content
QUICK REVIEW

[Paper Review] Compressed k2-Triples for Full-In-Memory RDF Engines

Sandra Álvarez-García, Nieves R. Brisaboa|arXiv (Cornell University)|May 20, 2011
Semantic Web and OntologiesComputer Science9 references34 citations
TL;DR

This paper proposes k2-triples, a compressed, full-in-memory RDF storage structure that leverages compact k2-tree indexes to enable ultra-efficient, decompression-free SPARQL query processing on large RDF datasets. By applying k2-trees to vertical-partitioned RDF data, it achieves superior compression and performance, outperforming both traditional vertical partitioning and multi-index systems in query speed while remaining fully in main memory.

ABSTRACT

Current "data deluge" has flooded the Web of Data with very large RDF datasets. They are hosted and queried through SPARQL endpoints which act as nodes of a semantic net built on the principles of the Linked Data project. Although this is a realistic philosophy for global data publishing, its query performance is diminished when the RDF engines (behind the endpoints) manage these huge datasets. Their indexes cannot be fully loaded in main memory, hence these systems need to perform slow disk accesses to solve SPARQL queries. This paper addresses this problem by a compact indexed RDF structure (called k2-triples) applying compact k2-tree structures to the well-known vertical-partitioning technique. It obtains an ultra-compressed representation of large RDF graphs and allows SPARQL queries to be full-in-memory performed without decompression. We show that k2-triples clearly outperforms state-of-the-art compressibility and traditional vertical-partitioning query resolution, remaining very competitive with multi-index solutions.

Motivation & Objective

  • Address the performance bottleneck in RDF engines caused by large-scale RDF datasets that exceed main memory capacity.
  • Overcome the limitations of traditional vertical-partitioning and multi-index systems in terms of memory footprint and query efficiency.
  • Design a storage structure that enables full-in-memory SPARQL query processing without decompression, even for very large RDF graphs.
  • Achieve high compression ratios while maintaining fast query resolution through advanced data structures.

Proposed method

  • Apply the k2-tree data structure to compress and index vertically-partitioned RDF triples (subject, predicate, object).
  • Use the k2-tree's compact representation to store and compress each RDF component (S, P, O) separately, enabling efficient random access.
  • Integrate the k2-tree with vertical-partitioning to minimize storage overhead and support fast join operations during SPARQL query execution.
  • Ensure that all query processing operations can be performed directly on the compressed data structures without full decompression.
  • Optimize the storage layout to support fast range queries and index lookups, crucial for SPARQL algebra operations.

Experimental results

Research questions

  • RQ1Can a compact, in-memory RDF storage structure be designed to support full query processing without decompression?
  • RQ2How does the k2-tree-based compression of vertically-partitioned RDF data compare to traditional vertical partitioning in terms of memory usage and query speed?
  • RQ3To what extent can k2-triples outperform multi-index systems in terms of compression and performance?
  • RQ4Is it feasible to achieve both high compression and low-latency query processing on large RDF graphs using a single-index structure?

Key findings

  • k2-triples achieves significantly better compression ratios than traditional vertical-partitioning methods, reducing storage overhead substantially.
  • The system enables full-in-memory SPARQL query processing without decompression, eliminating disk I/O bottlenecks.
  • Query performance with k2-triples outperforms state-of-the-art compressibility techniques and traditional vertical-partitioning approaches.
  • k2-triples remains competitive with complex multi-index systems, offering a simpler, single-index alternative with comparable performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.