Calculi for symmetric queries

作者:

Highlights:

摘要

Symmetric queries are introduced as queries on a sequence of sets of objects the result of which does not depend on the order of the sets. An appropriate data model is proposed, and two query languages are introduced, QuineCALC and SyCALC. They are correlated with the symmetric Boolean respectively relational functions. The former correlation yields an incidence-based normal form for QuineCALC queries. More generally, we propose counting-only queries as those SyCALC queries the result of which only depends on incidence information, and characterize them as quantified Boolean combinations of QuineCALC queries. A normal form is proposed for them too. It turns out to be undecidable whether a SyCALC query is counting-only, but decidable whether a counting-only query is a QuineCALC query. Finally, some classical decidability problems are considered which are shown to be undecidable for SyCALC, but decidable for QuineCALC and counting-only queries.

论文关键词:Bag of sets data model,Symmetric query,Two-sorted first-order logic,Two-sorted relational calculus,Symmetric Boolean function,Symmetric relational function,Counting-only query,Normal form,Expressibility,Satisfiability

论文评审过程:Received 12 June 2018, Revised 4 March 2019, Accepted 18 April 2019, Available online 30 April 2019, Version of Record 27 June 2019.

论文官网地址:https://doi.org/10.1016/j.jcss.2019.04.003