Counting Answers to Existential Positive Queries: A Complexity Classification - Université d'Artois Access content directly
Conference Papers Year : 2016

Counting Answers to Existential Positive Queries: A Complexity Classification

Hubie Chen
  • Function : Author
Stefan Mengel

Abstract

Existential positive formulas form a fragment of first-order logic that includes and is semantically equivalent to unions of conjunctive queries, one of the most important and well-studied classes of queries in database theory. We consider the complexity of counting the number of answers to existential positive formulas on finite structures and give a trichotomy theorem on query classes, in the setting of bounded arity. This theorem generalizes and unifies several known results on the complexity of conjunctive queries and unions of conjunctive queries. We prove this trichotomy theorem by establishing a result which we call the equivalence theorem, which shows that for each class of existential positive formulas, there exists a class of conjunctive queries having the same complexity (in a sense made precise).
No file

Dates and versions

hal-03301000 , version 1 (27-07-2021)

Identifiers

  • HAL Id : hal-03301000 , version 1

Cite

Hubie Chen, Stefan Mengel. Counting Answers to Existential Positive Queries: A Complexity Classification. 35th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems (PODS'16), 2016, San Francisco, CA, USA, Unknown Region. pp.315--326. ⟨hal-03301000⟩
9 View
0 Download

Share

Gmail Facebook X LinkedIn More