Combine the following sentences into a coherent and concise text: It is because most randomly generated queries have relatively small result sizes.
2) As graph gets dense, more intermediate results will be generated for randomly generated queries.
As discussed above, for randomly generated queries, the query time is nearly linear with the number of STwigs and joins.
A spanning tree is generated on the generated query to guarantee it is a connected graph.
One query set is generated using DFS traversal from a randomly chosen node. Please answer in JSON format.
user