# How to build result set suitable for graph visualisation