Arrow Research search
Back to Highlights

Highlights 2019

Aggregation, Enumeration, and Updates on Sparse Databases via Circuits

Conference Abstract Session 1: LOGICS Logic in Computer Science · Theoretical Computer Science

Abstract

We propose an algebraic framework for studying efficient algorithms for query evaluation, aggregation, enumeration, and maintenance under updates, on sparse databases. Our framework allows to treat those problems in a unified way, by considering various semirings, depending on the considered problem. We propose two query languages extending first-order logic by forms of semiring aggregation. In the first language, a query is evaluated in a fixed semiring. For various considered semirings, we obtain efficient algorithms for the evaluation and maintenance of query outputs. By employing the provenance semiring, we obtain as an application a linear-time algorithm which inputs a first-order query and a sparse database, and computes a dynamic data structure which allows to enumerate the answers to the query with constant delay. The data structure can be updated in constant time, upon updates to the database that do not modify its Gaifman graph. Our second query language extends the first one by allowing aggregates from multiple semirings simultaneously. We show that such queries can be evaluated in linear time on sparse databases.

Authors

Keywords

No keywords are indexed for this paper.

Context

Venue
Highlights of Logic, Games and Automata
Archive span
2013-2025
Indexed papers
1236
Paper id
569503890431541491