Chances are slight that Jessica is a mouse. We believe that Mary went to the bedroom. It is unlikely that Bernhard is a frog. There is almost no chance that if 'Jessica is a mouse' or 'Mary went to the bedroom' or both then Julius is a rhino. It is likely that if 'Jessica is a mouse and Mary went to the bedroom' then Sumit is tired. There is a very good chance that if either 'Bernhard is a frog' or 'Jessica is a mouse' but not both then Lily is green.
It is probably not the case that 'Sumit is tired' or 'Bernhard is a frog' or both.
It is probably not the case that 'Sumit is tired' or 'Bernhard is a frog' or both.
It is likely that 'Sumit is tired' or 'Bernhard is a frog' or both.

  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.1::factA.
  0.75::factB.
  0.2::factC.
  %hop1
  0.02::factX:-or(factA,factB).
  0.7::factY:-and(factA,factB).
  0.8::factZ:-xor(factC,factA).

  %hop2
  conclusion:-or(factY,factC).

  query(conclusion).
  
'Sumit is tired' or 'Bernhard is a frog' or both.