Executable First-Order Queries in the Logic of Information Flows
Preprint
Abstract
The logic of information flows (LIF) has recently been proposed as a general framework in the field of knowledge representation. In this framework, tasks of procedural nature can still be modeled in a declarative, logic-based fashion. In this paper, we focus on the task of query processing under limited access patterns, a well-studied problem in the database literature. We show that LIF is well-suited for modeling this task. Toward this goal, we introduce a variant of LIF called "forward" LIF (FLIF), in a first-order setting. FLIF takes a novel graph-navigational approach; it is an XPath-like language that nevertheless turns out to be equivalent to the "executable" fragment of first-order logic defined by Nash and Lud\"ascher. One can also classify the variables in FLIF expressions as inputs and outputs. Expressions where inputs and outputs are disjoint, referred to as io-disjoint FLIF expressions, allow a particularly transparent translation into algebraic query plans that respect the access limitations. Finally, we show that general FLIF expressions can always be put into io-disjoint form.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- Generating Plans from ProofsACM Transactions on Database Systems, 2016
- Relative expressive power of navigational querying on graphs using transitive closureLogic Journal of the IGPL, 2015
- nSPARQL: A navigational language for RDFJournal of Web Semantics, 2010
- The Active XML project: an overviewThe VLDB Journal, 2007
- Computing complete answers to queries in the presence of limited access patternsThe VLDB Journal, 2003
- Query containment for data integration systemsJournal of Computer and System Sciences, 2003
- Recursive query plans for data integrationThe Journal of Logic Programming, 2000
- Dynamic predicate logicLinguistics and Philosophy, 1991
- The origin of relation algebras in the development and axiomatization of the calculus of relationsStudia Logica, 1991
- The relational model of data and cylindric algebrasJournal of Computer and System Sciences, 1984