Distance-based correlation analysis for graph databases (Journal of Applied Mathematics, Statistics and Informatics, 2025)