Logical Foundations and Complexity of 4QL, a Query Language with Unrestricted Negation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Maluszynski, Jan, Szalas, Andrzej
Format: Preprint
Published: 2010
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913597916971008
author Maluszynski, Jan
Szalas, Andrzej
author_facet Maluszynski, Jan
Szalas, Andrzej
contents The paper discusses properties of a DATALOG$^{\neg\neg}$-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$^{\neg\neg}$ 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: - investigate properties of well-supported models of 4QL - prove the correctness of the algorithm for computing well-supported models - show that 4QL has PTIME data complexity and captures PTIME.
format Preprint
id arxiv_https___arxiv_org_abs_1011_5105
institution arXiv
publishDate 2010
record_format arxiv
spellingShingle Logical Foundations and Complexity of 4QL, a Query Language with Unrestricted Negation
Maluszynski, Jan
Szalas, Andrzej
Logic in Computer Science
Databases
The paper discusses properties of a DATALOG$^{\neg\neg}$-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$^{\neg\neg}$ 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: - investigate properties of well-supported models of 4QL - prove the correctness of the algorithm for computing well-supported models - show that 4QL has PTIME data complexity and captures PTIME.
title Logical Foundations and Complexity of 4QL, a Query Language with Unrestricted Negation
topic Logic in Computer Science
Databases
url https://arxiv.org/abs/1011.5105