It is certain that Brian is a rhino. We believe that Julius is white. There is little chance that Lily is a lion. It is unlikely that if 'Julius is white and Lily is a lion' then Bernhard is a frog. It is highly unlikely that if either 'Brian is a rhino' or 'Julius is white' but not both then Greg is a swan. It is almost certain that if 'Brian is a rhino' or 'Julius is white' or both then Mary went to the garden.
It is improbable that 'Lily is a lion and Mary went to the garden'.
It is improbable that 'Lily is a lion and Mary went to the garden'.
It is highly likely that 'Lily is a lion and Mary went to the garden'.

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

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

  query(conclusion).
  
'Lily is a lion and Mary went to the garden'.