https://medium.com/@monocosmo77/how-probabilistic-logic-programming-works-part3-artificial-intelligence-b4355c1baa84