It is probably not the case that Lily is a lion. It is almost certain that Emily is a mouse. It is likely that Brian is a swan. It is unlikely that if 'Brian is a swan and Lily is a lion' then Fred went to the garden. There is a better than even chance that if either 'Emily is a mouse' or 'Brian is a swan' but not both then Mary took the football. It is improbable that if 'Lily is a lion' or 'Brian is a swan' or both then Greg is a rhino.
It is impossible that 'Mary took the football and Greg is a rhino'.
It is impossible that 'Mary took the football and Greg is a rhino'.
There is a very good chance that 'Mary took the football and Greg is a rhino'.

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

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

  query(conclusion).
  
'Mary took the football and Greg is a rhino'.