There is little chance that Bernhard is white. It is probably the case that Julius is a lion. It is probable that Mary moved to the garden. It is likely that if 'Julius is a lion and Mary moved to the garden' then Brian is green. There is almost no chance that if 'Bernhard is white' or 'Julius is a lion' or both then John went to the hallway. We doubt that if 'Julius is a lion and Mary moved to the garden' then Antoine is hungry.
There is almost no chance that 'Julius is a lion and John went to the hallway'.
There is almost no chance that 'Julius is a lion and John went to the hallway'.
It is probable that 'Julius is a lion and John went to the hallway'.

  and(A,B) :- A,B.
  or(A,B) :- A;B.
  nand(A,B) :- not(and(A,B)).
  nor(A,B) :- not(or(A,B)).
  xor(A,B) :- or(A,B), nand(A,B).

  %hop0
  0.1::factA.
  0.7::factB.
  0.7::factC.
  %hop1
  0.7::factX:-and(factB,factC).
  0.02::factY:-or(factA,factB).
  0.2::factZ:-and(factB,factC).

  %hop2
  conclusion:-and(factB,factY).

  query(conclusion).
  
'Julius is a lion and John went to the hallway'.