There is a better than even chance that Gertrude is a sheep. It is highly unlikely that Lily is yellow. There is a better than even chance that Julius is a frog. There is a very good chance that if 'Julius is a frog and Lily is yellow' then Bernhard is gray. We doubt that if either 'Gertrude is a sheep' or 'Julius is a frog' but not both then Brian is yellow. It is almost certain that if 'Julius is a frog and Gertrude is a sheep' then John went to the garden.
There is a better than even chance that 'Bernhard is gray' or 'Gertrude is a sheep' or both.
There is a better than even chance that 'Bernhard is gray' or 'Gertrude is a sheep' or both.
Chances are slight that 'Bernhard is gray' or 'Gertrude is a sheep' or both.

  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.05::factB.
  0.6::factC.
  %hop1
  0.8::factX:-and(factC,factB).
  0.2::factY:-xor(factA,factC).
  0.95::factZ:-and(factC,factA).

  %hop2
  conclusion:-or(factX,factA).

  query(conclusion).
  
'Bernhard is gray' or 'Gertrude is a sheep' or both.