There is almost no chance that Lily is a rhino. There is little chance that Bernhard is a lion. It is probable that Mary went to the bedroom. It is probably the case that if either 'Bernhard is a lion' or 'Mary went to the bedroom' but not both then Julius is yellow. It is almost certain that if 'Lily is a rhino and Bernhard is a lion' then Fred is in the cinema. It is probably the case that if 'Lily is a rhino' or 'Bernhard is a lion' or both then Bill left the milk.
There is almost no chance that 'Mary went to the bedroom and Lily is a rhino'.
There is almost no chance that 'Mary went to the bedroom and Lily is a rhino'.
It is probable that 'Mary went to the bedroom and Lily 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.02::factA.
  0.1::factB.
  0.7::factC.
  %hop1
  0.7::factX:-xor(factB,factC).
  0.95::factY:-and(factA,factB).
  0.7::factZ:-or(factA,factB).

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

  query(conclusion).
  
'Mary went to the bedroom and Lily is a rhino'.