Skip to main content
QUICK REVIEW

[Paper Review] Seeing the Trees for the Forest: Leveraging Tree-Shaped Substructures in Property Graphs

Daniel Aarao Reis Arturi, Christoph Kohnen|arXiv (Cornell University)|Mar 12, 2026
Graph Theory and AlgorithmsComputer Science0 citations
TL;DR

The paper argues for treating tree-shaped substructures in property graphs as first-class citizens and demonstrates that structural indexes inspired by XML can drastically speed up path queries on relational backends, outlining a vision and research agenda for end-to-end tree-aware graph querying.

ABSTRACT

Property graphs often contain tree-shaped substructures, yet they are not captured by existing proposals for graph schemas; likewise, query languages and query engines offer little-to-no native support for managing them systematically. As a first contribution, we report on a micro experiment that demonstrates the optimization potential of treating tree-shaped substructures as first class citizens in graph database systems. In particular, we show that in systems backed by relational engines, we can achieve substantial speedups by leveraging structural indexes, as originally developed for XML databases, to accelerate path queries. Based on our findings, we put forward a vision in which tree-shaped substructures are systematically managed throughout the graph query lifecycle, from modeling and schema design to indexing and query processing, and outline arising research questions.

Motivation & Objective

  • Highlight that real-world property graphs contain significant tree-shaped substructures.
  • Demonstrate potential performance gains by applying structural indexes (PrePost, Dewey) to tree patterns on relational backends.
  • Propose a research agenda for modeling, indexing, and processing trees within graph query lifecycles.
  • Outline challenges for schema design, updates, and end-to-end query optimization in tree-aware GDBMSs.

Proposed method

  • Prototype implementation of PrePost and Dewey tree indexes on three GDBMS backends: Neo4j, Kuzu, and Apache AGE.
  • Evaluation of three tree-based queries (descendants, leaves, ancestor/descendant) across synthetic trees/forests and LDBC SNB data.
  • Comparison of baseline queries against index-augmented queries to measure speedups and slowdowns.
  • Analysis of performance variability across graph sizes, tree shapes, and edge directions.

Experimental results

Research questions

  • RQ1Can structural indexes for tree-shaped substructures accelerate query evaluation in property graphs backed by relational engines?
  • RQ2How do PrePost and Dewey indexes perform across different tree shapes, sizes, and graph datasets?
  • RQ3What are the practical challenges and research directions for integrating tree-aware indexing into schema design, updates, and end-to-end query processing?

Key findings

  • Structural indexes (PrePost, Dewey) yield multi-order-of-magnitude speedups for tree-oriented queries on relational backends across most tested graphs and queries.
  • Kuzu shows strong speedups (up to ~33x) for ancestor/descendant queries on LDBC SNB and synthetic trees, while Apache AGE often achieves even higher speedups (up to >10^3x).
  • Neo4j’s native graph engine largely sees little to no improvement from these tree-based indexes, indicating limited benefit for native graph engines in this setup.
  • PrePost generally outperforms or matches Dewey in most configurations, though Dewey can outperform in some scenarios depending on the data layout and updates.
  • Speedups increase with larger graphs and deeper trees, with substantial gains when queries avoid full scans and structural joins.

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.