Hi All,
This post is a continuation on a previous post “How to use the @Min[] operator”. I write the new post because I fear there is a serious limitation on practical use of PSL. I hope you will prove me wrong.
Predicates in a rule body may only be combined with “AND” (&) operations. PSL uses “Łukasiewicz logic”, so the result is MAX(Pred1 + Pred2 -1,0), so it will be less-equal than both predicates.
Let’s take an example:
My predicates are observed_fact/1 and inferred_fact/1. Inferred_fact should strengthen the belief that the observed fact is true.
Intuitively, I would put the following rules:
10: observed_fact(A) & inferred_fact(A) -> conclusive_inference(A)
10: observed_fact(A) -> conclusive_inference(A)
10: inferred_fact(A) -> conclusive_inference(A)
This will guarantee that conclusive_inference(A) is not less than both observed and inferred predicates. But I do not understand how to model increased belief in an observation by an inferred fact.
A rule of the form: “observed_fact(A) OR inferred_fact(A) -> conclusive_inference(A)” would be great, because it adds Pred1 and Pred2. But PSL does not allow OR in a rule body.
Hope I am totally wrong 😊
Thanks, Tzahi
But I do not understand how to model increased belief in an observation by an inferred fact.
But PSL does not allow OR in a rule body.
observed_fact(A) OR inferred_fact(A) -> conclusive_inference(A)
--
You received this message because you are subscribed to the Google Groups "PSL Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psl-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psl-users/f01e99d0-adb8-463f-a38e-d6c056a352ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "PSL Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psl-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psl-users/65c1b8b3-9c16-4077-93d5-a14e830670e2%40googlegroups.com.