Skip to main content
QUICK REVIEW

[Paper Review] Data Shapes and Data Transformations

Michael Hausenblas, Boris Villazón-Terrazas|arXiv (Cornell University)|Nov 7, 2012
Data Quality and Management2 references4 citations
TL;DR

This paper presents a principled framework for understanding and performing data shape transformations between tabular, tree, and graph data models—fundamental structures in modern data integration. It systematically analyzes transformations across these shapes, identifies standards and tools (e.g., R2RML, SPARQL, XSLT), and highlights both lossless and lossy transformation cases, contributing a foundational reference for data integration in heterogeneous systems.

ABSTRACT

Nowadays, information management systems deal with data originating from different sources including relational databases, NoSQL data stores, and Web data formats, varying not only in terms of data formats, but also in the underlying data model. Integrating data from heterogeneous data sources is a time-consuming and error-prone engineering task; part of this process requires that the data has to be transformed from its original form to other forms, repeating all along the life cycle. With this report we provide a principled overview on the fundamental data shapes tabular, tree, and graph as well as transformations between them, in order to gain a better understanding for performing said transformations more efficiently and effectively.

Motivation & Objective

  • To provide a principled overview of fundamental data shapes—tabular, tree, and graph—across diverse data sources and formats.
  • To analyze and categorize transformations between these data shapes, focusing on their feasibility, lossiness, and standardization.
  • To identify existing standards and tools (e.g., R2RML, SPARQL, XSLT) that enable or facilitate these transformations.
  • To highlight open challenges, including lossy transformations and the absence of provenance tracking in transformation pipelines.
  • To support researchers and practitioners in designing more efficient and interoperable data integration workflows.

Proposed method

  • The paper classifies data into three fundamental shapes: tabular (e.g., CSV, RDB), tree (e.g., XML, JSON), and graph (e.g., RDF, topic maps), based on structural and modeling characteristics.
  • It maps transformation directions between all pairs of shapes (e.g., tabular → graph, graph → tree), analyzing each for feasibility, lossiness, and standardization.
  • For each transformation type, the paper identifies existing standards (e.g., R2RML for RDB to RDF, XSLT for XML to XML) and tools (e.g., Google Refine, Geo2KML, SPARQL CONSTRUCT).
  • It distinguishes between declarative (e.g., SPARQL CONSTRUCT, XSLT) and operational (e.g., ad-hoc scripts) transformation approaches.
  • The paper evaluates transformation characteristics such as lossiness and standardization status, using a tabular summary (Table 3.2) to compare all transformation types.
  • It discusses open issues, including the lack of provenance tracking and the need for systematic study of lossy transformations.

Experimental results

Research questions

  • RQ1What are the fundamental data shapes that underlie modern data integration challenges?
  • RQ2Which data shape transformations are lossless, and which are inherently lossy, and what are the implications?
  • RQ3What standards and tools currently exist to support transformations between tabular, tree, and graph data shapes?
  • RQ4Can transformation processes be systematically expressed in a declarative manner, and if so, which ones?
  • RQ5How can provenance and data lineage be integrated into data shape transformation pipelines to improve trust and reproducibility?

Key findings

  • The paper identifies three fundamental data shapes—tabular, tree, and graph—each prevalent in real-world data sources such as RDBMS, JSON/XML, and RDF.
  • Lossless transformations are possible between certain data shape pairs, such as tabular to graph via R2RML or SPARQL CONSTRUCT.
  • Declarative transformation methods (e.g., SPARQL, XSLT, R2RML) are widely used and standardized for specific transformation types.
  • Lossy transformations occur when information is irreversibly lost, such as in graph-to-tabular conversions using SPARQL SELECT, especially when aggregating or flattening nested structures.
  • Several transformation standards exist, including R2RML for RDB to RDF, XSLT for XML to XML, and GRDDL for XML to RDF.
  • The paper identifies a critical gap in current practices: provenance tracking is not considered in transformation processes, suggesting a need for future research.

Better researchstarts right now

From reading papers to final review, dramatically reduce your research time.

No credit card · Free plan available

This review was created by AI and reviewed by human editors.