Skip to main content
QUICK REVIEW

[Paper Review] Property Graph Exchange Format

Hirokazu Chiba, Ryota Yamanaka|arXiv (Cornell University)|Jul 9, 2019
Graph Theory and AlgorithmsComputer Science2 references5 citations
TL;DR

This paper proposes a standardized property graph model and two interoperable serialization formats—flat text (PG) and JSON (JSON-PG)—to enable seamless data exchange across diverse graph databases. By unifying heterogeneous property graph models and providing conversion tools, the work enables lossless data migration and improved interoperability among systems like Neo4j, Oracle PGX, and Amazon Neptune.

ABSTRACT

Recently, a variety of database implementations adopting the property graph model have emerged. However, interoperable management of graph data on these implementations is challenging due to the differences in data models and formats. Here, we redefine the property graph model incorporating the differences in the existing models and propose interoperable serialization formats for property graphs. The model is independent of specific implementations and provides a basis of interoperable management of property graph data. The proposed serialization is not only general but also intuitive, thus it is useful for creating and maintaining graph data. To demonstrate the practical use of our model and serialization, we implemented converters from our serialization into existing formats, which can then be loaded into various graph databases. This work provides a basis of an interoperable platform for creating, exchanging, and utilizing property graph data.

Motivation & Objective

  • Address the lack of a standardized data model for property graphs across diverse graph database systems.
  • Enable interoperable management of property graph data despite differences in existing implementations.
  • Design a general, implementation-independent property graph model supporting multiple labels, multi-valued properties, and mixed directed/undirected edges.
  • Develop human-readable and machine-friendly serialization formats for practical data exchange and tool integration.
  • Provide command-line tools to convert between the proposed formats and existing database-specific formats.

Proposed method

  • Define a formal property graph model as a tuple incorporating nodes, directed and undirected edges, labels, and multi-valued properties.
  • Propose a flat text format (PG) using space/tab-separated fields for node and edge definitions, supporting arbitrary labels and key-value properties.
  • Design a JSON-based format (JSON-PG) using standard JSON syntax with structured elements for nodes, edges, labels, and properties, including an 'undirected' boolean flag.
  • Implement EBNF notation to formally specify the syntax of the PG format for machine parsing and validation.
  • Create command-line utilities to convert between PG, JSON-PG, and database-specific formats (e.g., Neo4j, Oracle PGX, Amazon Neptune).
  • Validate the approach by demonstrating end-to-end conversion and loading of example graphs into multiple target databases.

Experimental results

Research questions

  • RQ1How can a unified property graph model be designed to accommodate differences in existing property graph implementations?
  • RQ2What syntax and structure enable both human readability and machine processability in property graph serialization?
  • RQ3Can a single serialization format enable lossless data exchange across multiple graph database systems?
  • RQ4How can multi-valued properties, multiple labels, and mixed edge types (directed/undirected) be consistently represented in a standardized format?
  • RQ5To what extent can the proposed formats interoperate with existing graph database formats through automated conversion?

Key findings

  • The proposed property graph model successfully unifies diverse implementations by supporting multi-valued properties, multiple labels, and mixed directed/undirected edges.
  • The flat text (PG) format enables efficient line-oriented processing and is human-readable, suitable for scripting and data exchange.
  • The JSON-PG format supports structured, machine-readable data exchange and is well-suited for web-based and API-driven workflows.
  • The implementation of conversion tools enables lossless transformation of data into formats native to Neo4j, Oracle PGX, and Amazon Neptune.
  • The approach demonstrates practical feasibility through real-world conversion examples and open-source tooling available on GitHub.
  • The model and formats are independent of specific database engines, enabling broad interoperability across the graph database ecosystem.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.