Chances are about even that Bernhard is a swan. It is probably the case that Mary went to the kitchen. It is highly unlikely that Lily is a rhino. It is certain that if 'Mary went to the kitchen' or 'Bernhard is a swan' or both then Brian is green. It is probable that if either 'Mary went to the kitchen' or 'Lily is a rhino' but not both then Jessica is a cat. It is likely that if 'Bernhard is a swan' or 'Mary went to the kitchen' or both then Greg is gray.
It is probably not the case that 'Jessica is a cat and Greg is gray'.
It is probably not the case that 'Jessica is a cat and Greg is gray'.
It is likely that 'Jessica is a cat and Greg is gray'.

  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.5::factA.
  0.7::factB.
  0.05::factC.
  %hop1
  1.0::factX:-or(factB,factA).
  0.7::factY:-xor(factB,factC).
  0.7::factZ:-or(factA,factB).

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

  query(conclusion).
  
'Jessica is a cat and Greg is gray'.