ProbLog
ProbLog is a probabilistic logic programming language that extends Prolog with probabilities.[src] It minimally extends Prolog by adding the notion of a probabilistic fact, which combines the idea of logical atoms and random variables.[src] Similarly to Prolog, ProbLog can query an atom.[src] While Prolog returns the truth value of the queried atom, ProbLog returns the probability of it being true.[src]
ProbLog is a probabilistic logic programming language that extends Prolog with probabilities.[src] It minimally extends Prolog by adding the notion of a probabilistic fact, which combines the idea of logical atoms and random variables.[src] Similarly to Prolog, ProbLog can query an atom.[src] While Prolog returns the truth value of the queried atom, ProbLog returns the probability of it being true.[src] ProbLog programs consist of a set of probabilistic facts \mathcal{F} and a set of rules \mathcal{R} .[src] Using the distribution semantics, a probability distribution is defined over the two-valued well-founded models of the atoms in the program.[src] The probability of a model is defined as P(M) = \prod_{l \in M} P(l) where the product runs over all the literals in the model M .[src] For a query atom q the distribution semantics defines a probability for the query P(q) = \sum_{M \models q} P(M) = \sum_{M \models q} \prod_{l \in M} P(l) in which the sum runs over all the models where q is true.[src] ProbLog supports multiple tasks: Probabilistic inference: calculate P(q) Most probable explanation: calculate the most probable model probability \max_{M \models q} P(M) Sampling: generate samples of q Learning from interpretations: learn the probabilities of ProbLog programs from data 0.4 :: rain(weekday).[src] 0.9 :: rain(weekend).[src] 0.8 :: umbrella_if_rainy(Day).[src] 0.2 :: umbrella_if_dry(Day).[src] umbrella(Day) :- rain(Day), umbrella_if_rainy(Day).[src] umbrella(Day) :- \+rain(Day), umbrella_if_dry(Day).[src] wet(Day) :- rain(Day), \+umbrella(Day).[src] query(\+wet(weekend)).[src] The last rule before the query states that someone gets wet if it rains and no umbrella was brought.[src] When ProbLog is asked to solve the "probabilistic inference" task, the query asks for the probability to stay dry on a weekend day.[src] When solving the "most probable explanation" task, ProbLog will return the most likely reason for staying dry, i.e.[src] because it is not raining or because the person has an umbrella.[src]
24 sentences · 24 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"ProbLog." encyclopegia.org, 2026, https://encyclopegia.org/wiki/problog. Accessed 29 November 2026.
Chicago
"ProbLog." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/problog.
APA
encyclopegia.org. (2026). ProbLog. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/problog
Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON