There is little chance that Julius is white. Chances are about even that Emily is a sheep. It is probably the case that John moved to the office. It is certain that if 'Julius is white and Emily is a sheep' then Mary took the football. Chances are about even that if 'Julius is white and Emily is a sheep' then Greg is a lion. We doubt that if 'Emily is a sheep' or 'John moved to the office' or both then Lily is yellow.
It is highly unlikely that 'Mary took the football and Julius is white'.
It is highly unlikely that 'Mary took the football and Julius is white'.
It is probably the case that 'Mary took the football and Julius is white'.

  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.5::factB.
  0.7::factC.
  %hop1
  1.0::factX:-and(factA,factB).
  0.5::factY:-and(factA,factB).
  0.2::factZ:-or(factB,factC).

  %hop2
  conclusion:-and(factX,factA).

  query(conclusion).
  
'Mary took the football and Julius is white'.