1. A system for processing a query, comprising: an input module capable of receiving the query; an analysis and execution module capable of analyzing the query and the dataset to create an execution plan for the query, wherein the analysis and execution module comprises: a partition module capable of partitioning traversals over the dataset into sequential and parallel components; and a distribution module capable of distributing the components across a plurality of processing threads that independently traverse their portion of the dataset and compute local results; and a merging module capable of merging the local results to compute a final result.