On Higher Order Query Languages which on Relational Databases Collapse to Second Order Logic
Flavio Ferrarotti, Loredana Tec, Jos\'e Mar\'ia Turull-Torres

TL;DR
This paper investigates higher-order query languages in relational databases, showing that certain fragments of third-order and higher-order logics can be effectively translated into second-order logic, simplifying their expressive complexity.
Contribution
It defines a polynomial fragment of third-order and higher-order logics and proves these fragments collapse to second-order logic, simplifying their expressive power.
Findings
Polynomial third-order logic fragments collapse to SO
Higher-order logic fragments with polynomial bounds also collapse to SO
Constructive translations from higher-order to second-order logic are provided
Abstract
In the framework of computable queries in Database Theory, there are many examples of queries to (properties of) relational database instances that can be expressed by simple and elegant third order logic () formulae. In many of those properties the expressive power of is not required, but the equivalent second order logic () formulae can be very complicated or unintuitive. From the point of view of the study of highly expressive query languages, it is then relevant to identify fragments of (and, in general, of higher-order logics of order ) which do have an equivalent formula. In this article we investigate this precise problem as follows. Firstly, we define a general schema of TO formulas which consists of existentially quantifying a third-order linear digraph of polynomial length, that is, a sequence…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, Reasoning, and Knowledge · Advanced Database Systems and Queries · Algorithms and Data Compression
