[Paper Review] Bridging graph data models: RDF, RDF-star, and property graphs as directed acyclic graphs
This paper introduces Statement Graphs, a unifying graph data model that represents RDF, RDF-star, and property graphs as directed acyclic graphs, enabling seamless interoperability. It formalizes bidirectional mappings between the three models and demonstrates feasibility via the open-source 1G Playground, which supports cross-model querying using SPARQL and Gremlin on a unified in-memory graph database system.
Graph database users today face a choice between two technology stacks: the Resource Description Framework (RDF), on one side, is a data model with built-in semantics that was originally developed by the W3C to exchange interconnected data on the Web; on the other side, Labeled Property Graphs (LPGs) are geared towards efficient graph processing and have strong roots in developer and engineering communities. The two models look at graphs from different abstraction layers (triples in RDF vs. edges connecting vertices with inlined properties in LPGs), expose - at least at the surface - distinct features, come with different query languages, and are embedded into their own software ecosystems. In this short paper, we introduce a novel unifying graph data model called Statement Graphs, which combines the traits of both RDF and LPG and achieves interoperability at different levels: it (a) provides the ability to manage RDF and LPG data as a single, interconnected graph, (b) supports querying over the integrated graph using any RDF or LPG query language, while (c) clearing the way for graph stack independent data exchange mechanisms and formats. We formalize our new model as directed acyclic graphs and sketch a system of bidirectional mappings between RDF, LPGs, and Statement Graphs. Our mappings implicitly define read query semantics for RDF and LPGs query languages over the unified data model, thus providing graph users with the flexibility to use the query language of their choice for their graph use cases. As a proof of concept for our ideas, we also present the 1G Playground; an in-memory DBMS built on the concepts of Statement Graphs, which facilitates storage of both RDF and LPG data, and allows for cross-model querying using both SPARQL and Gremlin.
Motivation & Objective
- To address the growing need for interoperability between RDF and labeled property graph (LPG) systems, which are rooted in different abstraction layers and ecosystems.
- To unify RDF, RDF-star, and LPG data models under a single, coherent graph model that preserves their distinct features while enabling shared query and data exchange.
- To provide a formal foundation for translating between RDF, RDF-star, and LPGs using directed acyclic graphs (DAGs), ensuring semantic consistency and extensibility.
- To demonstrate the practical viability of the unification through an open-source prototype system, the 1G Playground, supporting cross-model data loading, querying, and serialization.
Proposed method
- Propose Statement Graphs as a unifying data model that treats statements (triples or labeled edges) as first-class nodes in a directed acyclic graph, enabling shared representation of RDF, RDF-star, and LPGs.
- Formalize bidirectional mappings from RDF, RDF-star, and LPGs into Statement Graphs using functions such as $IRI2label$, $label2IRI$, $IRI2prop$, and $prop2IRI$ to handle IRI-to-label and property-to-IRI translations.
- Implement the 1G Playground as an in-memory DBMS that maintains a central Statement Graph and derives separate LPG and RDF stores via translation functions, enabling read-only cross-model querying.
- Support data exchange using a novel unified '1G' serialization format accessible via the -og flag, allowing persistent storage and interchange of mixed RDF and LPG data.
- Leverage existing query engines (SPARQL for RDF, Gremlin for LPG) by mapping them to the unified Statement Graph, enabling query execution without custom engine development.
- Use a client-server architecture with REST endpoints for data loading, retrieval, querying, and configuration, with support for multiple formats including N-Quads, Turtle, and Graphson.
Experimental results
Research questions
- RQ1How can RDF, RDF-star, and labeled property graphs be formally unified under a single graph data model that preserves their distinct modeling capabilities?
- RQ2What is a minimal, intuitive, and formally grounded graph model that supports bidirectional translation between RDF, RDF-star, and LPGs?
- RQ3Can a unified graph model enable transparent cross-model querying using standard query languages like SPARQL and Gremlin?
- RQ4What are the practical implications of using a directed acyclic graph as the foundational structure for unifying diverse graph data models?
- RQ5How can a shared serialization format and a prototype system demonstrate the feasibility and utility of the proposed unification?
Key findings
- The proposed Statement Graph model successfully unifies RDF, RDF-star, and labeled property graphs into a single, coherent data model based on directed acyclic graphs, enabling shared representation and interoperability.
- Bidirectional mappings between the three models are formally defined using translation functions, allowing lossless conversion and consistent interpretation across data models.
- The 1G Playground prototype demonstrates that cross-model data loading, storage, and querying are feasible using standard query languages, with SPARQL and Gremlin queries executed over a unified graph.
- The system supports multiple input and output formats, including N-Quads, Turtle, Graphson, and a novel unified '1G' format, enabling flexible data exchange.
- The architecture maintains separate LPG and RDF stores derived from the central Statement Graph, ensuring compatibility with existing tools while enabling unified access.
- The approach enables users to query mixed RDF and LPG data using their preferred query language, effectively bridging the gap between the W3C Semantic Web stack and modern graph database ecosystems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.