We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Databases

Title: Answer Counting under Guarded TGDs

Abstract: We study the complexity of answer counting for ontology-mediated queries and for querying under constraints, considering conjunctive queries and unions thereof (UCQs) as the query language and guarded TGDs as the ontology and constraint language, respectively. Our main result is a classification according to whether answer counting is fixed-parameter tractable (FPT), W[1]-equivalent, #W[1]-equivalent, #W[2]-hard, or #A[2]-equivalent, lifting a recent classification for UCQs without ontologies and constraints due to Dell et al. The classification pertains to various structural measures, namely treewidth, contract treewidth, starsize, and linked matching number.
Our results rest on the assumption that the arity of relation symbols is bounded by a constant and, in the case of ontology-mediated querying, that all symbols from the ontology and query can occur in the data (so-called full data schema).
We also study the meta-problems for the mentioned structural measures, that is, to decide whether a given ontology-mediated query or constraint-query specification is equivalent to one for which the structural measure is bounded.
Subjects: Databases (cs.DB)
Journal reference: Logical Methods in Computer Science, Volume 19, Issue 3 (September 14, 2023) lmcs:8768
DOI: 10.46298/lmcs-19(3:16)2023
Cite as: arXiv:2101.03058 [cs.DB]
  (or arXiv:2101.03058v5 [cs.DB] for this version)

Submission history

From: Marcin Przybyłko [view email] [via LOGICAL proxy]
[v1] Fri, 8 Jan 2021 15:23:51 GMT (86kb,D)
[v2] Thu, 25 Nov 2021 17:52:25 GMT (112kb)
[v3] Fri, 28 Oct 2022 15:55:37 GMT (139kb)
[v4] Tue, 18 Jul 2023 12:50:47 GMT (140kb,D)
[v5] Wed, 13 Sep 2023 09:05:52 GMT (117kb,D)

Link back to: arXiv, form interface, contact.