Graph Versus Relational Infrastructure for Social Network Analysis at Community Scale: Traversal, Centrality, Community Detection and the Data Path to Graph Neural Networks

Centrality, community and reach analyses of social platforms are graph traversals whose latency depends on the underlying data infrastructure. This paper compares a native graph engine (Neo4j 5.26 with the Graph Data Science library) and a relational engine (PostgreSQL 16) on the LDBC Social Network Benchmark at scale factors 0.1 and 1, the larger holding 9892 persons, the size of a single online community rather than of a platform. Seven interactive queries mapped to social-analysis tasks, plus PageRank and Louvain, are timed in 3200 executions. No paradigm dominates. The relational engine leads by 3.2–8.1× on the three workloads dominated by aggregation over a two-hop neighbourhood, and the graph engine leads by 1.35–18.0× on the four dominated by the traversal itself; all differences are statistically clear, but this pattern is identified on the same workloads and remains a hypothesis. On the clearest graph-engine win, the ratio of profiling counters (14.9×) tracks the latency ratio (15.3×), suggesting that the gap lies mainly in how much work each plan performs. Query formulation matters more than paradigm: a natural recursive-SQL shortest-path query times out on all 200 executions, while a hop-by-hop rewrite returns in 58.07ms. PageRank is not expressible in standard recursive SQL at all. The ranking survives a worst-case correction for asymmetric connection handling; growth-rate extrapolations do not. An analytical model, not a measured pipeline, indicates how the traversal costs would enter neighbourhood sampling for graph neural networks. A decision framework and a hybrid architecture are proposed.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-09-24
DOI
https://doi.org/10.3390/electronics15194399
Primary Topic
Advanced Graph Neural Networks
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Graph Versus Relational Infrastructure for Social Network Analysis at Community Scale: Traversal, Centrality, Community Detection and the Data Path to Graph Neural Networks

Maryam Abbasi, Paulo Váz, José Périto Leite Rodrigues da Silva, Pedro Martins
Electronics
Advanced Graph Neural Networks
article

Graph Versus Relational Infrastructure for Social Network Analysis at Community Scale: Traversal, Centrality, Community Detection and the Data Path to Graph Neural Networks

Maryam Abbasi, Paulo Váz, José Périto Leite Rodrigues da Silva, Pedro Martins
article en

Abstract

Centrality, community and reach analyses of social platforms are graph traversals whose latency depends on the underlying data infrastructure. This paper compares a native graph engine (Neo4j 5.26 with the Graph Data Science library) and a relational engine (PostgreSQL 16) on the LDBC Social Network Benchmark at scale factors 0.1 and 1, the larger holding 9892 persons, the size of a single online community rather than of a platform. Seven interactive queries mapped to social-analysis tasks, plus PageRank and Louvain, are timed in 3200 executions. No paradigm dominates. The relational engine leads by 3.2–8.1× on the three workloads dominated by aggregation over a two-hop neighbourhood, and the graph engine leads by 1.35–18.0× on the four dominated by the traversal itself; all differences are statistically clear, but this pattern is identified on the same workloads and remains a hypothesis. On the clearest graph-engine win, the ratio of profiling counters (14.9×) tracks the latency ratio (15.3×), suggesting that the gap lies mainly in how much work each plan performs. Query formulation matters more than paradigm: a natural recursive-SQL shortest-path query times out on all 200 executions, while a hop-by-hop rewrite returns in 58.07ms. PageRank is not expressible in standard recursive SQL at all. The ranking survives a worst-case correction for asymmetric connection handling; growth-rate extrapolations do not. An analytical model, not a measured pipeline, indicates how the traversal costs would enter neighbourhood sampling for graph neural networks. A decision framework and a hybrid architecture are proposed.

ElectronicsVol. 15(19)
Polytechnic Institute of Coimbra (PT), Instituto Politécnico de Santarém (PT), Polytechnic Institute of Viseu (PT)
Industry, innovation and infrastructure
Openalex Percentile: Top 9%
Advanced Graph Neural Networks
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.