Maluszynski, Jan Szalas, Andrzej 2011 (English)In: Journal of Applied Non-Classical Logics, ISSN 1166-3081, Vol. 21, no 2, 211-232Artikel i tidskrift (Refereed) Published
The paper discusses properties of 4QL, a DATALOG¬¬-like query language, originally outlined by Małuszy´nski and Szałas (Małuszy´nski & Szałas, 2011). 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. Negated literals in heads of rules may 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 (Małuszy´nski et al., 2008; Vitória et al., 2009) with truth values: ‘true’, ‘false’, ‘inconsistent’ and ‘unknown’. In addition, 4QL is tractable w.r.t. data complexity and captures PTIME queries. Even though 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:
- 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.
query language, data complexity, paraconsistent semantics, DATALOG
National CategoryComputer Science
Identifiersurn:nbn:se:liu:diva-72692 (URN)10.3166/JANCL.21.211-232 (DOI)oai:DiVA.org:liu-72692 (OAI)