Expressive Reasoning Graph Store: A Unified Framework for Managing RDF and Property Graph Databases

Sumit Neelam, Udit Sharma, Sumit Bhatia, Hima Karanam, Ankita Likhyani, Ibrahim Abdelaziz, Achille Fokoue, L. Venkata SubramaniamarXiv 2022 · DOI

Abstract

The divide between the Resource Description Framework (RDF) and Property Graphs (PG) has long hindered interoperability in graph data management. This paper introduces the Expressive Reasoning Graph Store (ERGS), a unified framework that allows users to store RDF datasets within a Property Graph database while maintaining standard SPARQL querying and automated reasoning capabilities. By optimizing data ingestion and translating SPARQL 1.1 into Gremlin traversals, ERGS achieves performance comparable to native RDF stores while enabling advanced graph analytics.

Introduction

In the current graph database landscape, RDF is the standard for the Semantic Web, optimized for metadata and complex reasoning via SPARQL. Conversely, Property Graphs are favored for performance-heavy analytics like pathfinding and PageRank using languages like Gremlin. Bridging these models typically requires maintaining separate, siloed databases, which is both costly and complex. ERGS addresses this by providing a unified store on top of JanusGraph, facilitating high-performance traversals and Semantic Web reasoning within a single system.

System Architecture

ERGS integrates with the RDF4J framework to provide a standard interface, sitting atop a JanusGraph backend. The system's functionality is driven by two primary components: an Ingestion Module and a Query Module.

The ERGS system architecture, illustrating the flow from application interfaces through the ingestion and query modules to the underlying Property Graph.

The Ingestion Module performs "Basic Schema Translation," converting RDF resources into edges and literals into node properties. This approach significantly reduces graph size compared to naive mappings. Simultaneously, a metadata layer tracks predicate storage types to guide query execution.

Data Representation and Reasoning

A key innovation in ERGS is its handling of RDF data within the PG model. Instead of a 1-to-1 triple-to-edge mapping, ERGS optimizes storage by treating literals as properties. This reduces the "hop count" for many queries, providing a major performance advantage over previous naive RDF-to-PG mappings.

An example of RDF data transformed into a Property Graph representation alongside the corresponding metadata layer used for query optimization.

The Query Module parses SPARQL 1.1 queries, performs query expansion for RDFS and limited OWL reasoning, and translates them into optimized Gremlin traversals. By utilizing a metadata subgraph, the engine dynamically determines whether to access properties or traverse edges, hiding underlying schema complexity from the user. The system also reorders query patterns to maximize the use of underlying indexes, avoiding expensive full-graph scans.

Evaluation and Results

ERGS was evaluated using industry-standard benchmarks—LUBM, BSBM, and WatDiv—with datasets scaling up to 130 million triples. Results indicate that ERGS is competitive with native RDF stores like Virtuoso and Blazegraph. Notably, it outperformed previous state-of-the-art translators like Gremlinator by supporting a broader range of SPARQL 1.1 features, including variable predicates and complex UNION patterns. While the system scales well, it faces performance bottlenecks on queries returning massive result sets (e.g., >7 million rows) due to the distributed data storage model of JanusGraph.

Conclusion

ERGS successfully demonstrates the feasibility of a unified graph store that bridges the gap between RDF and Property Graphs. While it faces challenges with extremely large result sets, it provides a robust foundation for future work in expanding OWL reasoning support and implementing SPARQL UPDATE operations. Future developments will also focus on enhanced indexing and cache management to address identified performance bottlenecks.

Summary updated

BibTeX
@misc{neelam2022expressive,
  author = {Sumit Neelam and Udit Sharma and Sumit Bhatia and Hima Karanam and Ankita Likhyani and Ibrahim Abdelaziz and Achille Fokoue and L. Venkata Subramaniam},
  title = {{Expressive Reasoning Graph Store: A Unified Framework for Managing RDF and Property Graph Databases}},
  year = {2022},
  eprint = {2209.05828},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.05828},
}
Figure