Executable First-Order Queries in the Logic of Information Flows

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 lim...

Full description

Bibliographic Details
Published in:Logical Methods in Computer Science
Main Authors: Heba Aamer, Bart Bogaerts, Dimitri Surinx, Eugenia Ternovska, Jan Van den Bussche
Format: Article
Language:English
Published: Logical Methods in Computer Science e.V. 2024-05-01
Subjects:
Online Access:http://lmcs.episciences.org/10121/pdf
_version_ 1849327939298000896
author Heba Aamer
Bart Bogaerts
Dimitri Surinx
Eugenia Ternovska
Jan Van den Bussche
author_facet Heba Aamer
Bart Bogaerts
Dimitri Surinx
Eugenia Ternovska
Jan Van den Bussche
author_sort Heba Aamer
collection DOAJ
container_title Logical Methods in Computer Science
description 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.
format Article
id doaj-art-e97424a34a4d4331bbce6d75c42ca5e8
institution Directory of Open Access Journals
issn 1860-5974
language English
publishDate 2024-05-01
publisher Logical Methods in Computer Science e.V.
record_format Article
spelling doaj-art-e97424a34a4d4331bbce6d75c42ca5e82025-08-30T16:47:53ZengLogical Methods in Computer Science e.V.Logical Methods in Computer Science1860-59742024-05-01Volume 20, Issue 210.46298/lmcs-20(2:6)202410121Executable First-Order Queries in the Logic of Information FlowsHeba AamerBart BogaertsDimitri SurinxEugenia TernovskaJan Van den BusscheThe 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.http://lmcs.episciences.org/10121/pdfcomputer science - logic in computer scienceh.2.3i.2.4
spellingShingle Heba Aamer
Bart Bogaerts
Dimitri Surinx
Eugenia Ternovska
Jan Van den Bussche
Executable First-Order Queries in the Logic of Information Flows
computer science - logic in computer science
h.2.3
i.2.4
title Executable First-Order Queries in the Logic of Information Flows
title_full Executable First-Order Queries in the Logic of Information Flows
title_fullStr Executable First-Order Queries in the Logic of Information Flows
title_full_unstemmed Executable First-Order Queries in the Logic of Information Flows
title_short Executable First-Order Queries in the Logic of Information Flows
title_sort executable first order queries in the logic of information flows
topic computer science - logic in computer science
h.2.3
i.2.4
url http://lmcs.episciences.org/10121/pdf
work_keys_str_mv AT hebaaamer executablefirstorderqueriesinthelogicofinformationflows
AT bartbogaerts executablefirstorderqueriesinthelogicofinformationflows
AT dimitrisurinx executablefirstorderqueriesinthelogicofinformationflows
AT eugeniaternovska executablefirstorderqueriesinthelogicofinformationflows
AT janvandenbussche executablefirstorderqueriesinthelogicofinformationflows