Enumerating Answers to First-Order Queries over Databases of Low Degree

10/16/2020
by   Arnaud Durand, et al.
0

A class of relational databases has low degree if for all δ>0, all but finitely many databases in the class have degree at most n^δ, where n is the size of the database. Typical examples are databases of bounded degree or of degree bounded by log n. It is known that over a class of databases having low degree, first-order boolean queries can be checked in pseudo-linear time, i.e. for all ϵ>0 in time bounded by n^1+ϵ. We generalize this result by considering query evaluation. We show that counting the number of answers to a query can be done in pseudo-linear time and that after a pseudo-linear time preprocessing we can test in constant time whether a given tuple is a solution to a query or enumerate the answers to a query ith constant delay.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/13/2018

First-order queries on classes of structures with bounded expansion

We consider the evaluation of first-order queries over classes of databa...
research
01/15/2021

Towards Approximate Query Enumeration with Sublinear Preprocessing Time

This paper aims at providing extremely efficient algorithms for approxim...
research
12/27/2019

Aggregate Queries on Sparse Databases

We propose an algebraic framework for studying efficient algorithms for ...
research
10/06/2020

Dynamic Query Evaluation Over Structures with Low Degree

We consider the evaluation of first-order queries over classes of databa...
research
09/25/2019

Query Preserving Watermarking Schemes for Locally Treelike Databases

Watermarking is a way of embedding information in digital documents. Muc...
research
09/21/2021

Learning low-degree functions from a logarithmic number of random queries

We prove that for any integer n∈ℕ, d∈{1,…,n} and any ε,δ∈(0,1), a bounde...
research
03/02/2020

Constant delay enumeration with FPT-preprocessing for conjunctive queries of bounded submodular width

Marx (STOC 2010, J. ACM 2013) introduced the notion of submodular width ...

Please sign up or login with your details

Forgot password? Click here to reset