[Paper Review] Transforming RDF-star to Property Graphs: A Preliminary Analysis of Transformation Approaches -- extended version
This paper evaluates and compares two transformation approaches—RDF-topology-preserving (RPT) and property-graph transformation (PGT)—for mapping RDF-star graphs to property graphs. It identifies that no existing tool fully supports all RDF-star constructs, and the choice between RPT and PGT depends on use case factors like ontology availability, performance, and data sharing needs, with RPT preserving semantic fidelity and PGT improving scalability by reducing nodes and edges.
RDF and property graph models have many similarities, such as using basic graph concepts like nodes and edges. However, such models differ in their modeling approach, expressivity, serialization, and the nature of applications. RDF is the de-facto standard model for knowledge graphs on the Semantic Web and supported by a rich ecosystem for inference and processing. The property graph model, in contrast, provides advantages in scalable graph analytical tasks, such as graph matching, path analysis, and graph traversal. RDF-star extends RDF and allows capturing metadata as a first-class citizen. To tap on the advantages of alternative models, the literature proposes different ways of transforming knowledge graphs between property graphs and RDF. However, most of these approaches cannot provide complete transformations for RDF-star graphs. Hence, this paper provides a step towards transforming RDF-star graphs into property graphs. In particular, we identify different cases to evaluate transformation approaches from RDF-star to property graphs. Specifically, we categorize two classes of transformation approaches and analyze them based on the test cases. The obtained insights will form the foundation for building complete transformation approaches in the future.
Motivation & Objective
- To analyze the feasibility and challenges of transforming RDF-star graphs into property graphs due to semantic and structural differences between the models.
- To identify and categorize transformation approaches—RDF-topology-preserving (RPT) and property-graph transformation (PGT)—for RDF-star to property graph mapping.
- To evaluate existing tools (Neosemantics, RDF-star Tools, RDF2PG) using a comprehensive test suite to assess their coverage and limitations.
- To provide insights for designing hybrid transformation approaches that balance semantic fidelity, performance, and expressiveness in real-world applications.
Proposed method
- The authors define a set of 16 test cases that cover diverse RDF-star constructs, including nested triples, metadata on triples, and complex property structures.
- They classify transformation approaches into two categories: RDF-topology-preserving (RPT), which maps each RDF-star triple to a separate edge, and property-graph transformation (PGT), which embeds properties into nodes or edges.
- The test cases are systematically applied to evaluate three existing tools: Neosemantics, RDF-star Tools, and RDF2PG, assessing their support for each case.
- The evaluation compares transformation outcomes in terms of node and edge count, semantic fidelity, and support for metadata and provenance.
- Performance and expressiveness trade-offs are analyzed using real-world use cases, including smart homes, financial services, and linked open data.
- The study identifies that RPT preserves semantic relationships better but increases graph size, while PGT reduces graph size at the cost of losing explicit structural relationships.
Experimental results
Research questions
- RQ1How do existing tools handle the full range of RDF-star constructs when transforming to property graphs?
- RQ2What are the key differences and trade-offs between RDF-topology-preserving (RPT) and property-graph transformation (PGT) approaches in terms of expressiveness and performance?
- RQ3In what application contexts is RPT preferable over PGT, and vice versa, based on ontology availability, data complexity, and query workloads?
- RQ4Can a hybrid transformation approach be designed that combines the strengths of RPT and PGT to support both semantic fidelity and scalability?
Key findings
- None of the evaluated tools—Neosemantics, RDF-star Tools, or RDF2PG—supports all 16 test cases, indicating gaps in current transformation capabilities for RDF-star.
- The RPT approach preserves semantic relationships by modeling each triple as a distinct edge, but results in a higher number of nodes and edges, increasing graph complexity.
- The PGT approach reduces graph size by embedding properties into nodes or edges, leading to better performance in query execution, especially in large-scale analytical workloads.
- In use cases with well-defined ontologies, such as financial services or life sciences, RPT is preferred for its ability to maintain explicit semantic relationships.
- For linked open data or tabular data integration, PGT is more suitable due to its compatibility with existing property graph workflows and lower computational overhead.
- A hybrid approach combining RPT and PGT is identified as a promising direction for future work, enabling users to tailor transformations based on application-specific needs.
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.