Affiliation:
1. Univ. of Southern California, Los Angeles
Abstract
Datalog is extended to incorporate single-valued “data functions”, which correspond to attributes in semantic models, and which may be base (user-specified) or derived (computed). Both conventional and stratified datalog are considered. Under the extension, a datalog program may not be consistent, because a derived function symbol may evaluate to something which is not a function. Consistency is shown to be undecidable, and is decidable in a number of restricted cases. A syntactic restriction,
panwise consistency
, is shown to guarantee consistency. The framework developed here can also be used to incorporate single-valued data functions into the Complex Object Language (COL), which supports deductive capabilities, complex database objects, and set-valued data functions.
There is a natural correspondence between the extended datalog introduced here, and the usual datalog with functional dependencies. For families Φ and Γ of dependencies and a family of datalog programs Λ, the Φ-Γ
implication problem
for Λ asks, given sets F ⊆ Φ and G ⊆ Γ and a program P in Λ, whether for all inputs I, I @@@@ F implies P(I) @@@@ G. The FD-FD implication problem is undecidable for datalog, and the TGD-EGD implication problem is decidable for stratified datalog. Also, the Ø-MVD problem is undecidable (and hence also the MVD-preservation problem).
Publisher
Association for Computing Machinery (ACM)
Subject
Information Systems,Software
Reference33 articles.
1. On the representation and querying of sets of possible worlds
2. IFO: a formal semantic database model
3. Ablteboul S and R Hull Data Functions Datalog and Negatmn Technical report m preparation Ablteboul S and R Hull Data Functions Datalog and Negatmn Technical report m preparation
Cited by
16 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Finding Cross-Rule Optimization Bugs in Datalog Engines;Proceedings of the ACM on Programming Languages;2024-04-29
2. Sanity-Checking Multiple Levels of Classification;Conceptual Modeling;2023
3. Meta-analysis of the functional neuroimaging literature with probabilistic logic programming;Scientific Reports;2022-11-12
4. Scaling-up reasoning and advanced analytics on BigData;Theory and Practice of Logic Programming;2018-09
5. J-Logic;Proceedings of the 36th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems;2017-05-09