Logical Foundations and Complexity of 4QL, a Query Language with Unrestricted Negation
Jan Maluszynski, Andrzej Szalas

TL;DR
This paper introduces 4QL, a four-valued logic query language with unrestricted negation, demonstrating its tractability and ability to capture PTIME queries, with formal properties and algorithms analyzed.
Contribution
It provides a formal foundation for 4QL with properties, correctness proofs, and complexity results, highlighting its novel features compared to existing approaches.
Findings
4QL has well-supported models with proven properties
The algorithm for computing models is correct
4QL captures PTIME data complexity
Abstract
The paper discusses properties of a DATALOG-like query language 4QL, originally outlined in [MS10]. Negated literals in heads of rules naturally lead to inconsistencies. On the other hand, rules do not have to attach meaning to some literals. Therefore 4QL is founded on a four-valued semantics, employing the logic introduced in [MSV08, VMS09] with truth values: 'true', 'false', 'inconsistent' and 'unknown'. 4QL allows one to use rules with negation in heads and bodies of rules, it is based on a simple and intuitive semantics and provides uniform tools for "lightweight" versions of known forms of nonmonotonic reasoning. In addition, 4QL is tractable as regards its data complexity and captures PTIME queries. Even if DATALOG is known as a concept for the last 30 years, to our best knowledge no existing approach enjoys these properties. In the current paper we: -…
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
TopicsSemantic Web and Ontologies · Data Management and Algorithms · Advanced Database Systems and Queries
