Unroll query results in graph.