It is likely that Mary moved to the garden. There is almost no chance that Greg is a lion. It is probably not the case that Brian is green. It is impossible that if 'Greg is a lion' or 'Brian is green' or both then Jessica is a cat. It is almost certain that if 'Brian is green' or 'Greg is a lion' or both then John went to the office. It is probably not the case that if either 'Greg is a lion' or 'Brian is green' but not both then Julius is a swan.
There is almost no chance that 'Greg is a lion and John went to the office'.
There is almost no chance that 'Greg is a lion and John went to the office'.
It is probable that 'Greg is a lion and John went to the office'.

  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.02::factB.
  0.25::factC.
  %hop1
  0.0::factX:-or(factB,factC).
  0.95::factY:-or(factC,factB).
  0.25::factZ:-xor(factB,factC).

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

  query(conclusion).
  
'Greg is a lion and John went to the office'.