It is almost certain that Brian is a rhino. There is a better than even chance that Julius is yellow. There is a very good chance that Emily is a wolf. It is highly unlikely that if 'Brian is a rhino' or 'Julius is yellow' or both then Mary dropped the milk. There is little chance that if 'Brian is a rhino and Emily is a wolf' then John took the football. It is highly unlikely that if either 'Emily is a wolf' or 'Julius is yellow' but not both then Lily is a frog.
It is impossible that 'Lily is a frog and Julius is yellow'.
It is impossible that 'Lily is a frog and Julius is yellow'.
There is a very good chance that 'Lily is a frog and Julius is yellow'.

  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.95::factA.
  0.6::factB.
  0.8::factC.
  %hop1
  0.05::factX:-or(factA,factB).
  0.1::factY:-and(factA,factC).
  0.05::factZ:-xor(factC,factB).

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

  query(conclusion).
  
'Lily is a frog and Julius is yellow'.