It is likely that John went to the office. It is probably the case that Sandra dropped the milk. It is likely that Julius is a rhino. It is improbable that if 'Sandra dropped the milk' or 'John went to the office' or both then Winona is a mouse. It is almost certain that if either 'John went to the office' or 'Julius is a rhino' but not both then Jessica is a sheep. It is impossible that if 'Sandra dropped the milk' or 'Julius is a rhino' or both then Daniel got the apple.
It is impossible that 'Daniel got the apple and Jessica is a sheep'.
It is impossible that 'Daniel got the apple and Jessica is a sheep'.
It is probable that 'Daniel got the apple and Jessica is a sheep'.

  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.7::factA.
  0.7::factB.
  0.7::factC.
  %hop1
  0.1::factX:-or(factB,factA).
  0.95::factY:-xor(factA,factC).
  0.0::factZ:-or(factB,factC).

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

  query(conclusion).
  
'Daniel got the apple and Jessica is a sheep'.