Text this: Distance-based correlation analysis for graph databases