It is highly likely that Emily is a mouse. It is highly likely that Mary went to the garden. There is a very good chance that Jessica is a sheep. It is highly unlikely that if 'Mary went to the garden' or 'Emily is a mouse' or both then Lily is a rhino. There is almost no chance that if 'Jessica is a sheep' or 'Mary went to the garden' or both then Daniel dropped the apple. There is a very good chance that if 'Emily is a mouse' or 'Mary went to the garden' or both then Bernhard is gray.
It is certain that 'Jessica is a sheep' or 'Emily is a mouse' or both.
It is certain that 'Jessica is a sheep' or 'Emily is a mouse' or both.
There is almost no chance that 'Jessica is a sheep' or 'Emily is a mouse' or both.

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

  %hop2
  conclusion:-or(factC,factA).

  query(conclusion).
  
'Jessica is a sheep' or 'Emily is a mouse' or both.