It is highly unlikely that Brian is a lion. It is highly likely that Lily is a frog. It is highly unlikely that John discarded the apple. It is almost certain that if either 'Lily is a frog' or 'Brian is a lion' but not both then Greg is gray. It is almost certain that if 'Brian is a lion' or 'Lily is a frog' or both then Bernhard is a frog. It is impossible that if either 'Lily is a frog' or 'Brian is a lion' but not both then Daniel left the milk.
It is likely that 'Brian is a lion and Daniel left the milk'.
It is impossible that 'Brian is a lion and Daniel left the milk'.
It is likely that 'Brian is a lion and Daniel left the milk'.

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

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

  query(conclusion).
  
'Brian is a lion and Daniel left the milk'.