A succinct data structure for self-indexing ternary relations

Abstract The representation of binary relations has been intensively studied and many different theoretical and practical representations have been proposed to answer the usual queries in multiple domains. However, ternary relations have not received as much attention, even though many real-world applications require the processing of ternary relations. In this paper we present a new compressed and self-indexed data structure that we call Interleaved K 2 -tree (I K 2 -tree), designed to compactly represent and efficiently query general ternary relations. The I K 2 -tree is an evolution of an existing data structure, the K 2 -tree [6] , initially designed to represent Web graphs and later applied to other domains. The I K 2 -tree is able to extend the K 2 -tree to represent a ternary relation, based on the idea of decomposing it into a collection of binary relations but providing indexing capabilities in all the three dimensions. We present different ways to use I K 2 -tree to model different types of ternary relations using as reference two typical domains: RDF and Temporal Graphs. We also experimentally evaluate our representations comparing them in space usage and performance with other solutions of the state of the art.

[1]  Nieves R. Brisaboa,et al.  Compact Data Structures for Temporal Graphs , 2013, 2013 Data Compression Conference.

[2]  Sherif Sakr,et al.  Relational processing of RDF queries: a survey , 2010, SGMD.

[3]  Gonzalo Navarro,et al.  Compact binary relation representations with rich functionality , 2012, Inf. Comput..

[4]  Jérémy Barbay,et al.  Succinct Representation of Labeled Graphs , 2007, Algorithmica.

[5]  Gerhard Weikum,et al.  The RDF-3X engine for scalable management of RDF data , 2010, The VLDB Journal.

[6]  Gonzalo Navarro,et al.  DACs: Bringing direct access to variable-length codes , 2013, Inf. Process. Manag..

[7]  Gonzalo Navarro,et al.  Fast and Compact Web Graph Representations , 2010, TWEB.

[8]  N. Ritter,et al.  The GeoTiff data interchange standard for raster geographic images , 1997 .

[9]  Nieves R. Brisaboa,et al.  Compact Querieable Representations of Raster Data , 2013, SPIRE.

[10]  Abraham Bernstein,et al.  Hexastore: sextuple indexing for semantic web data management , 2008, Proc. VLDB Endow..

[11]  Nieves R. Brisaboa,et al.  Compressed k2-Triples for Full-In-Memory RDF Engines , 2011, AMCIS.

[12]  John L. Smith Tables , 1969, Neuromuscular Disorders.

[13]  Gonzalo Navarro,et al.  Compressed Dynamic Binary Relations , 2012, 2012 Data Compression Conference.

[14]  Gonzalo Navarro,et al.  Compact Data Structures - A Practical Approach , 2016 .

[15]  Daniel J. Abadi,et al.  Scalable Semantic Web Data Management Using Vertical Partitioning , 2007, VLDB.

[16]  Gonzalo Navarro,et al.  k2-Trees for Compact Web Graph Representation , 2009, SPIRE.