JOURNAL ARTICLE

Declarative Probabilistic Programming with Datalog

Vince BárányBalder ten CateBenny KimelfeldDan OlteanuZografoula Vagena

Year: 2016 Journal:   Leibniz-Zentrum für Informatik (Schloss Dagstuhl)   Publisher: Schloss Dagstuhl – Leibniz Center for Informatics

Abstract

Probabilistic programming languages are used for developing statistical models, and they typically consist of two components: a specification of a stochastic process (the prior), and a specification of observations that restrict the probability space to a conditional subspace (the posterior). Use cases of such formalisms include the development of algorithms in machine learning and artificial intelligence. We propose and investigate an extension of Datalog for specifying statistical models, and establish a declarative probabilistic-programming paradigm over databases. Our proposed extension provides convenient mechanisms to include common numerical probability functions; in particular, conclusions of rules may contain values drawn from such functions. The semantics of a program is a probability distribution over the possible outcomes of the input database with respect to the program. Observations are naturally incorporated by means of integrity constraints over the extensional and intensional relations. The resulting semantics is robust under different chases and invariant to rewritings that preserve logical equivalence.

Keywords:
Datalog Computer science Probabilistic logic Programming language Theoretical computer science Semantics (computer science) Rotation formalisms in three dimensions Declarative programming Extension (predicate logic) Artificial intelligence Inductive programming Programming paradigm Mathematics

Metrics

13
Cited By
2.26
FWCI (Field Weighted Citation Impact)
0
Refs
0.95
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Logic, Reasoning, and Knowledge
Physical Sciences →  Computer Science →  Artificial Intelligence
Semantic Web and Ontologies
Physical Sciences →  Computer Science →  Artificial Intelligence
Bayesian Modeling and Causal Inference
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Declarative Probabilistic Programming with Datalog

Vince BárányBalder ten CateBenny KimelfeldDan OlteanuZografoula Vagena

Journal:   ACM Transactions on Database Systems Year: 2017 Vol: 42 (4)Pages: 1-35
BOOK-CHAPTER

Extending Datalog with Declarative Updates

Mengchi Liu

Lecture notes in computer science Year: 2000 Pages: 752-763
JOURNAL ARTICLE

Extending Datalog with Declarative Updates

Mengchi Liu

Journal:   Journal of Intelligent Information Systems Year: 2003 Vol: 20 (2)Pages: 107-129
JOURNAL ARTICLE

Functional Programming with Datalog

Pacak, AndréErdweg, Sebastian

Journal:   Leibniz-Zentrum für Informatik (Schloss Dagstuhl) Year: 2022
© 2026 ScienceGate Book Chapters — All rights reserved.