There is a very good chance that Brian is yellow. It is unlikely that Greg is white. There is little chance that Emily is a wolf. It is probably not the case that if 'Brian is yellow' or 'Greg is white' or both then Bernhard is a frog. It is probably not the case that if 'Brian is yellow' or 'Emily is a wolf' or both then Daniel took the milk. It is probably not the case that if either 'Emily is a wolf' or 'Greg is white' but not both then Mary moved to the garden.
There is almost no chance that 'Mary moved to the garden and Bernhard is a frog'.
There is almost no chance that 'Mary moved to the garden and Bernhard is a frog'.
There is a better than even chance that 'Mary moved to the garden and Bernhard is a frog'.

  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.8::factA.
  0.2::factB.
  0.1::factC.
  %hop1
  0.25::factX:-or(factA,factB).
  0.25::factY:-or(factA,factC).
  0.25::factZ:-xor(factC,factB).

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

  query(conclusion).
  
'Mary moved to the garden and Bernhard is a frog'.