Approximate and Interactive Processing of Aggregate Queries on Knowledge Graphs: A Demonstration

Yuxiang Wang, Arijit Khan, Xiaoliang Xu, Shuzhan Ye, Shihuang Pan, Yuhan Zhou

Research output: Contribution to book/anthology/report/conference proceedingArticle in proceedingResearchpeer-review

4 Citations (Scopus)

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 languageEnglish
Title of host publicationCIKM 2022 - Proceedings of the 31st ACM International Conference on Information and Knowledge Management
Number of pages5
Place of Publication31st ACM International Conference on Information and Knowledge Management (CIKM ’22), October 17–21, 2022, Atlanta, GA, USA.
PublisherAssociation for Computing Machinery
Publication date17 Oct 2022
Pages5034-5038
ISBN (Print)978-1-4503-9236-5/22/10
ISBN (Electronic)9781450392365
DOIs
Publication statusPublished - 17 Oct 2022
Event31st ACM International Conference on Information and Knowledge Management - Atlanta, United States
Duration: 17 Oct 202221 Oct 2022

Conference

Conference31st ACM International Conference on Information and Knowledge Management
Country/TerritoryUnited States
CityAtlanta
Period17/10/202221/10/2022

Keywords

  • approximate aggregate query
  • knowledge graph
  • random walk

Fingerprint

Dive into the research topics of 'Approximate and Interactive Processing of Aggregate Queries on Knowledge Graphs: A Demonstration'. Together they form a unique fingerprint.

Cite this