Can a Query Engine Answer From Data Summaries Instead of Raw Data?
Authors: Dominik Ślęzak, Rick Glick, Paweł Betliński, and Piotr Synak · Published In: Journal of Intelligent Information Systems, vol. 50 (2018)
A research summary by AQ Technologies, based on Ślęzak, Glick, Betliński and Synak, A New Approximate Query Engine Based on Intelligent Capture and Fast Transformations of Granulated Data Summaries (Journal of Intelligent Information Systems, 2018).
Research Lineage · Approximate query processing · Data summarization
Research study
How a query engine answered SQL from summaries instead of raw data
What if the data is too large, or too scattered, to query in full?
Exploring big data sets usually means adding more computing power, and for large or distributed sources that gets costly and inefficient. Yet much exploratory work, such as reporting, trend analysis or event detection, doesn't need exact answers, only answers close enough to act on. The 2018 paper describes an engine that answers ordinary analytical SQL from compact summaries of the data, without going back to the original records.
What did the team build?
The engine has two layers. A knowledge capture layer reads incoming data in chunks, leaves the data where it is, and builds a summary of each chunk: histograms, values that stand out, gaps where no values occur, and how values in different columns occur together. A knowledge transformation layer answers each query by turning summaries of its inputs into summaries of its outputs, step by step through filtering, joining and grouping, and only at the end turns the result into a standard SQL answer. The authors report approximate but sufficiently accurate answers 100 to 1,000 times faster than traditional solutions.
How accurate were the answers?
The team measured how closely approximate answers matched exact ones. In a comparison with Hive and Spark SQL on a customer's data set, one example query's approximate result scored 0.98 for similarity to the exact result. In another test, a standard feature selection method run directly on the summaries ranked data columns much as it did on the full data and on 15% samples, while running far faster. The filtering step adapts tree-based belief propagation, and the design draws on rough sets and granular computing.
Why this matters for security AI
When the paper was published, the engine was in its first production version, and network traffic analytics and intrusion detection were among its validated use cases. Its central idea is that well-chosen summaries can carry enough knowledge to answer questions without returning to every record. At Knowledge Grid, we've carried that idea further: keep what you know about the environment in a form AI and analysts can reuse quickly, so the next investigation starts from knowledge rather than from scratch.
Source
D. Ślęzak, R. Glick, P. Betliński and P. Synak, “A New Approximate Query Engine Based on Intelligent Capture and Fast Transformations of Granulated Data Summaries,” Journal of Intelligent Information Systems, vol. 50, no. 2, pp. 385–414, 2018. DOI: 10.1007/s10844-017-0471-6.
Cite this summary
AQ Technologies. Can a Query Engine Answer From Data Summaries Instead of Raw Data? 2026. https://www.aqtechnologies.ai/approximate-query-engine-data-summaries