Skip to main navigation Skip to search Skip to main content

Safety of datalog queries over infinite databases

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

25 Scopus citations

Abstract

A query is safe with respect to a set of constraints if for every database that satisfies the constraints the query is guaranteed to yield a finite set of answers. We study here the safety problem for Datalog programs with respect to finiteness constraints. We show that safety can be viewed as a combination of two properties: weak safety, which guarantees the finiteness of intermediate answers, and termination, which guarantees the finteness of the evaluation. We prove that while weak safety is decidable, termination is not. We then consider monadic programs, i.e. programs in which all intentional predicates, i.e, programs in which all intensional predicates are monadic, and show that safety is decidable in polynomial time for monadic programs. While we do not settle the safety problem, we show that a closely related problem, the decision problem for safety with respect to functional dependencies, is undecidable even for monadic programs.

Original languageEnglish
Title of host publicationProceedings of the 8th ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, PODS 1989
PublisherPubl by ACM
Pages160-171
Number of pages12
ISBN (Print)0897913086, 9780897913089
DOIs
StatePublished - 1989
Event8th ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, PODS 1989 - Philadelphia, PA, USA
Duration: 29 Mar 1989 → 31 Mar 1989

Publication series

NameProceedings of the 8th ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, PODS 1989

Conference

Conference8th ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, PODS 1989
CityPhiladelphia, PA, USA
Period29/03/89 → 31/03/89

Fingerprint

Dive into the research topics of 'Safety of datalog queries over infinite databases'. Together they form a unique fingerprint.

Cite this