Abstract
This paper demonstrates AGQ [26] — our system for approximate and interactive processing of aggregate queries on knowledge graphs (KGs), e.g., “what is the average price of cars produced in Germany?” One can support aggregate queries based on factoid queries, e.g., “find all cars produced in Germany”, by applying an aggregate operation on factoid queries’ answers. However, this straightforward method is problematic since both the accuracy and efficiency of factoid query processing would impact the performance of aggregate queries. Moreover, returning a one-time, exact result might add computation overhead and hinder users’ engagement and interactivity. To this end, we design a system, called AGQ which employs a “sampling-estimation” model to answer aggregate queries over KGs. This is the first work to provide an approximate aggregate result with effective and interactive accuracy guarantees, and without relying on factoid queries. Our demonstration highlights (1) a novel semantic-aware sampling to collect a high quality random sample through a random walk based on KG embedding, followed by our unbiased (or, consistent) estimators for {COUNT, SUM, AVG} to compute the approximate aggregate results using the random sample, with a confidence interval-based accuracy guarantee. (2) AGQ supports interactive improvements of accuracy, complex queries with filter, GROUP-BY, MAX/MIN, and different graph shapes, e.g., chain, cycle, star, flower. (3) Its GUI helps users compare simple and complex aggregate queries, intermediate results as the queries progress, confidence intervals, relative errors, and various schemas for different valid answers in a user-friendly and interactive manner. Additionally, our system permits users to input queries in natural languages, keywords, or to select from a set of example graph queries.
Original language | English |
---|---|
Title of host publication | CIKM 2022 - Proceedings of the 31st ACM International Conference on Information and Knowledge Management |
Number of pages | 5 |
Place of Publication | 31st ACM International Conference on Information and Knowledge Management (CIKM ’22), October 17–21, 2022, Atlanta, GA, USA. |
Publisher | Association for Computing Machinery |
Publication date | 17 Oct 2022 |
Pages | 5034-5038 |
ISBN (Print) | 978-1-4503-9236-5/22/10 |
ISBN (Electronic) | 9781450392365 |
DOIs | |
Publication status | Published - 17 Oct 2022 |
Event | 31st ACM International Conference on Information and Knowledge Management - Atlanta, United States Duration: 17 Oct 2022 → 21 Oct 2022 |
Conference
Conference | 31st ACM International Conference on Information and Knowledge Management |
---|---|
Country/Territory | United States |
City | Atlanta |
Period | 17/10/2022 → 21/10/2022 |
Keywords
- approximate aggregate query
- knowledge graph
- random walk