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 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.
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