DATALOG WITH NONDETERMINISTIC CHOICE COMPUTES NDB-PTIME

Citation
F. Giannotti et D. Pedreschi, DATALOG WITH NONDETERMINISTIC CHOICE COMPUTES NDB-PTIME, The journal of logic programming, 35(1), 1998, pp. 79-101
Citations number
28
Categorie Soggetti
Computer Science Theory & Methods","Computer Science Theory & Methods
ISSN journal
07431066
Volume
35
Issue
1
Year of publication
1998
Pages
79 - 101
Database
ISI
SICI code
0743-1066(1998)35:1<79:DWNCCN>2.0.ZU;2-2
Abstract
This paper addresses the issue of non-deterministic extensions of logi c database languages. After providing a brief overview of the main pro posals in the literature, we concentrate on the analysis of the dynami c choice construct from the point of view of the expressive power. We show how such construct is capable of expressing several interesting d eterministic problems, such as computing the complement of a relation, and non-deterministic ones, such as computing an ordering of a relati on. We then prove that Datalog augmented with the dynamic choice expre sses exactly the non-deterministic time-polynomial queries. We thus ob tain a complete characterization of the expressiveness of the dynamic choice, and conversely achieve a characterization of the class of non- deterministic time-polynomial queries (NDB-PTIME) by means of a simple , declarative, and efficiently implementable language. (C) 1998 Elsevi er Science Inc. All rights reserved.