There is a better than even chance that Brian is yellow. We believe that Sandra got the milk. It is almost certain that Lily is a frog. We believe that if either 'Sandra got the milk' or 'Brian is yellow' but not both then Jason is tired. It is highly likely that if 'Lily is a frog and Sandra got the milk' then Julius is a swan. It is almost certain that if 'Sandra got the milk' or 'Lily is a frog' or both then Mary went to the garden.
It is probably not the case that 'Lily is a frog and Jason is tired'.
It is probably not the case that 'Lily is a frog and Jason is tired'.
It is certain that 'Lily is a frog and Jason is tired'.

  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.6::factA.
  0.75::factB.
  0.95::factC.
  %hop1
  0.75::factX:-xor(factB,factA).
  0.9::factY:-and(factC,factB).
  0.95::factZ:-or(factB,factC).

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

  query(conclusion).
  
'Lily is a frog and Jason is tired'.