It is probably the case that Julius is green. There is almost no chance that Mary moved to the office. It is probable that Brian is a frog. It is highly unlikely that if 'Julius is green' or 'Mary moved to the office' or both then Lily is yellow. Chances are about even that if either 'Mary moved to the office' or 'Julius is green' but not both then Daniel grabbed the milk. It is probable that if 'Julius is green and Mary moved to the office' then Greg is a lion.
It is probable that 'Julius is green and Mary moved to the office'.
There is almost no chance that 'Julius is green and Mary moved to the office'.
It is probable that 'Julius is green and Mary moved 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.7::factC.
  %hop1
  0.05::factX:-or(factA,factB).
  0.5::factY:-xor(factB,factA).
  0.7::factZ:-and(factA,factB).

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

  query(conclusion).
  
'Julius is green and Mary moved to the office'.