We consider query problems defined by first order formulas of the form F(x,T) with free first order and second order variables and study the data complexity of enumerating results of such queries. By considering the number of alternations in the quantifier prefixes of formulas, we show that such query problems either admit a constant delay or a polynomial delay enumeration algorithm or are hard to enumerate. We also exhibit syntactically defined fragments inside the hard cases that still admit good enumeration algorithms and discuss the case of some restricted classes of database structures as inputs.
@InProceedings{durand_et_al:LIPIcs.CSL.2011.189, author = {Durand, Arnaud and Strozecki, Yann}, title = {{Enumeration Complexity of Logical Query Problems with Second-order Variables}}, booktitle = {Computer Science Logic (CSL'11) - 25th International Workshop/20th Annual Conference of the EACSL}, pages = {189--202}, series = {Leibniz International Proceedings in Informatics (LIPIcs)}, ISBN = {978-3-939897-32-3}, ISSN = {1868-8969}, year = {2011}, volume = {12}, editor = {Bezem, Marc}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.CSL.2011.189}, URN = {urn:nbn:de:0030-drops-32313}, doi = {10.4230/LIPIcs.CSL.2011.189}, annote = {Keywords: descriptive complexity, enumeration, query problem} }
Feedback for Dagstuhl Publishing