It is almost certain that Lily is green. There is a better than even chance that Greg is a frog. There is a better than even chance that Mary went to the kitchen. Chances are slight that if 'Lily is green' or 'Greg is a frog' or both then Julius is a lion. It is highly unlikely that if either 'Greg is a frog' or 'Lily is green' but not both then Emily is a sheep. It is probable that if 'Lily is green and Greg is a frog' then Brian is yellow.
There is a better than even chance that either 'Greg is a frog' or 'Emily is a sheep' but not both.
There is a better than even chance that either 'Greg is a frog' or 'Emily is a sheep' but not both.
There is little chance that either 'Greg is a frog' or 'Emily is a sheep' but not 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.95::factA.
  0.6::factB.
  0.6::factC.
  %hop1
  0.1::factX:-or(factA,factB).
  0.05::factY:-xor(factB,factA).
  0.7::factZ:-and(factA,factB).

  %hop2
  conclusion:-xor(factB,factY).

  query(conclusion).
  
Either 'Greg is a frog' or 'Emily is a sheep' but not both.