It is highly likely that Fred moved to the office. It is unlikely that Jason is tired. There is a very good chance that Sandra got the football. It is probably the case that if 'Fred moved to the office' or 'Jason is tired' or both then Greg is a rhino. Chances are about even that if 'Jason is tired and Sandra got the football' then Julius is white. There is a very good chance that if 'Jason is tired' or 'Fred moved to the office' or both then Mary picked up the apple.
It is highly unlikely that 'Julius is white and Mary picked up the apple'.
It is highly unlikely that 'Julius is white and Mary picked up the apple'.
It is probable that 'Julius is white and Mary picked up the apple'.

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

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

  query(conclusion).
  
'Julius is white and Mary picked up the apple'.