JOURNAL ARTICLE

Answering Keyword Queries involving Aggregates and GROUPBY on Relational Databases

Abstract

Keyword search over relational databases has gained popularity as it provides a user-friendly way to explore structured data. Current research in keyword search has largely ignored queries to retrieve statistical information from the database. The work in [13] extends keywords by supporting aggregate functions in their SQAK system. However, SQAK does not consider the semantics of objects and relationships in the database, and thus suffers from the problems of returning incorrect answers. In this work, we propose a semantic approach to answer keyword queries involving aggregates and GROUPBY. Our approach utilizes the ORM schema graph to capture the Object-Relationship-Attribute (ORA) semantics in the database, and determines the various interpretations of a query before generating the corresponding SQL statements. These semantics enable us to distinguish objects with the same attribute value and detect duplications of objects in relationships to compute the answers correctly. Our approach can also handle unnormalized relations in the database and GROUPBY in keyword queries which SQAK cannot. Experiments on the TPC-H and ACM Digital Library publication datasets demonstrate the advantages of the proposed semantic approach in retrieving correct statistical information for users.

Keywords:
Computer science Information retrieval Graph database Semantics (computer science) Relational database Database schema SQL Schema (genetic algorithms) Database Keyword search Graph Database design Theoretical computer science Programming language

Metrics

9
Cited By
0.00
FWCI (Field Weighted Citation Impact)
17
Refs
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing
Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications
Data Quality and Management
Social Sciences →  Decision Sciences →  Management Science and Operations Research

Related Documents

JOURNAL ARTICLE

Answering Top-k Keyword Queries on Relational Databases

Myint TheinMie Mie Su Thwin

Journal:   International Journal of Information Retrieval Research Year: 2012 Vol: 2 (3)Pages: 36-57
JOURNAL ARTICLE

Answering queries in relational databases

Alessandro D’AtriMarina MoscariniNicolas Spyratos

Journal:   ACM SIGMOD Record Year: 1983 Vol: 13 (4)Pages: 173-177
© 2026 ScienceGate Book Chapters — All rights reserved.