It is highly likely that Mary discarded the apple. It is highly likely that Jeff went to the bedroom. It is highly unlikely that John moved to the office. It is almost certain that if either 'Mary discarded the apple' or 'Jeff went to the bedroom' but not both then Sandra left the football. It is certain that if 'Mary discarded the apple and Jeff went to the bedroom' then Julius is a lion. It is unlikely that if 'Mary discarded the apple' or 'Jeff went to the bedroom' or both then Bernhard is a rhino.
There is a very good chance that 'Julius is a lion and Jeff went to the bedroom'.
There is a very good chance that 'Julius is a lion and Jeff went to the bedroom'.
It is unlikely that 'Julius is a lion and Jeff went to the bedroom'.

  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.9::factA.
  0.9::factB.
  0.05::factC.
  %hop1
  0.95::factX:-xor(factA,factB).
  1.0::factY:-and(factA,factB).
  0.2::factZ:-or(factA,factB).

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

  query(conclusion).
  
'Julius is a lion and Jeff went to the bedroom'.