It is probably the case that Mary went to the garden. It is highly likely that Gertrude is a wolf. There is almost no chance that Greg is a lion. There is a very good chance that if 'Greg is a lion and Gertrude is a wolf' then Jessica is a sheep. It is probably not the case that if either 'Mary went to the garden' or 'Greg is a lion' but not both then John put down the apple. There is a better than even chance that if either 'Greg is a lion' or 'Mary went to the garden' but not both then Brian is a frog.
It is highly likely that 'Jessica is a sheep and Gertrude is a wolf'.
There is almost no chance that 'Jessica is a sheep and Gertrude is a wolf'.
It is highly likely that 'Jessica is a sheep and Gertrude is a wolf'.

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

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

  query(conclusion).
  
'Jessica is a sheep and Gertrude is a wolf'.