It is almost certain that Emily is a sheep. It is probably the case that Greg is green. It is impossible that Brian is a rhino. It is impossible that if 'Greg is green and Brian is a rhino' then Mary went to the kitchen. It is almost certain that if 'Greg is green' or 'Emily is a sheep' or both then Lily is a frog. It is certain that if 'Emily is a sheep and Brian is a rhino' then Bernhard is gray.
It is impossible that 'Bernhard is gray and Emily is a sheep'.
It is impossible that 'Bernhard is gray and Emily is a sheep'.
It is probable that 'Bernhard is gray and Emily is a sheep'.

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

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

  query(conclusion).
  
'Bernhard is gray and Emily is a sheep'.